aboutsummaryrefslogtreecommitdiffstats
path: root/configdefinitions/src/vespa/imported-fields.def
blob: 051226f16157fbfc4b046b3c3159e276a8d490c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=vespa.config.search

# The name of an imported attribute field in context of this document type.
attribute[].name string

# The name of the field (in this document type) that refers to a parent document type.
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

# Deprecated. TODO: Remove when going to Vespa 7.
# 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

# Deprecated. TODO: Remove when going to Vespa 7.
# 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