aboutsummaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/vsm/config/vsmfields.def
blob: a7bd1f03f85927dd36a4780457cbe00a2e5260ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=vespa.config.search.vsm

## Level of verification applied to the documents received.
documentverificationlevel int default=0

## Set if one should ignore limit hits.
searchall int default=1

## The name of a field for which we are assigning a search method.
## The field name refers directly to a field in the document model.
fieldspec[].name string

## The search method for a given field. Note: same field in 2 different document types must match on type if not a random result might be expected.
fieldspec[].searchmethod enum { NONE, BOOL, AUTOUTF8, UTF8, SSE2UTF8, INT8, INT16, INT32, INT64, FLOAT16, FLOAT, DOUBLE, GEOPOS, NEAREST_NEIGHBOR } default=AUTOUTF8
fieldspec[].arg1 string default=""

## Maximum number of chars to search per field.
fieldspec[].maxlength int default=1048576

## Type of the field
fieldspec[].fieldtype enum {ATTRIBUTE, INDEX} default=INDEX

## The name of a documenttype for which we are assigning a set of indexes.
documenttype[].name string
## The name of an index of a documenttype for which we are assigning a set of fields.
documenttype[].index[].name string

## The name of a field part of an index.
## The field name refers directly to a field in the document model.
documenttype[].index[].field[].name string