diff options
author | Geir Storli <geirst@yahoo-inc.com> | 2017-04-05 14:48:33 +0200 |
---|---|---|
committer | Geir Storli <geirst@yahoo-inc.com> | 2017-04-05 14:50:02 +0200 |
commit | a4426306121b434974fb96cc94ee652e93073361 (patch) | |
tree | fbb7bb425c225ed3e12a888343a36d4e02186aef /configdefinitions | |
parent | 16d53d7d13ff8011fa33e5cedf4473298541601f (diff) |
Add data and collection type to imported-fields config.
These are the same as the data and collection type of the target attribute field.
Diffstat (limited to 'configdefinitions')
-rw-r--r-- | configdefinitions/src/vespa/imported-fields.def | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/imported-fields.def b/configdefinitions/src/vespa/imported-fields.def index 6ccdb20bb64..ba53985090a 100644 --- a/configdefinitions/src/vespa/imported-fields.def +++ b/configdefinitions/src/vespa/imported-fields.def @@ -10,3 +10,9 @@ attribute[].referencefield string # The name of the target attribute field in the parent document type that is imported into this document type. attribute[].targetfield string +# The data type of the target attribute field. This enum should match the one in attributes.def. +attribute[].datatype enum { STRING, UINT1, UINT2, UINT4, INT8, INT16, INT32, INT64, FLOAT, DOUBLE, PREDICATE, TENSOR, REFERENCE, NONE } default=NONE + +# The collection type of the target attribute field. This enum should match the one in attributes.def. +attribute[].collectiontype enum { SINGLE, ARRAY, WEIGHTEDSET } default=SINGLE + |