# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. ## Config specifying the index fields and field collections that are part of an index schema. namespace=vespa.config.search ## The name of the index field. indexfield[].name string ## The data type of the index field. indexfield[].datatype enum { STRING, INT64 } default=STRING ## The collection type of the index field. indexfield[].collectiontype enum { SINGLE, ARRAY, WEIGHTEDSET } default=SINGLE ## Whether the index should support prefix searches. indexfield[].prefix bool default=false ## Whether the index should support phrase searches. indexfield[].phrases bool default=false ## Whether the index should have posting lists with word positions. indexfield[].positions bool default=true ## Average element length indexfield[].averageelementlen int default=512 ## Whether the index field should use posting lists with interleaved features or not. indexfield[].interleavedfeatures bool default=false ## The name of the field collection (aka logical view). fieldset[].name string ## The name of the index field that are part of this collection. fieldset[].field[].name string