summaryrefslogtreecommitdiffstats
path: root/configdefinitions/src/vespa/vespa.config.search.indexschema.def
diff options
context:
space:
mode:
Diffstat (limited to 'configdefinitions/src/vespa/vespa.config.search.indexschema.def')
-rw-r--r--configdefinitions/src/vespa/vespa.config.search.indexschema.def25
1 files changed, 25 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/vespa.config.search.indexschema.def b/configdefinitions/src/vespa/vespa.config.search.indexschema.def
new file mode 100644
index 00000000000..245570ef7b5
--- /dev/null
+++ b/configdefinitions/src/vespa/vespa.config.search.indexschema.def
@@ -0,0 +1,25 @@
+# Copyright 2017 Yahoo Holdings. 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