aboutsummaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-04-21 12:08:35 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2021-04-21 12:08:35 +0200
commitffab5f279b8d93313f0b7b927ab9f609371d5ee3 (patch)
treebf7fa200b3cff01d51b0165d2385c59afe6df32d /configdefinitions
parent5da673bc5d8a3e6661e9f099b8d15ea301964aaa (diff)
- Add match config for default match type during query.
- Add restart annotations on config that alwasy require restart. - Change default from legacy CASE_INSENSITIVE to UNCASED.
Diffstat (limited to 'configdefinitions')
-rw-r--r--configdefinitions/src/vespa/attributes.def17
1 files changed, 9 insertions, 8 deletions
diff --git a/configdefinitions/src/vespa/attributes.def b/configdefinitions/src/vespa/attributes.def
index 453e7283f2c..38019e865a6 100644
--- a/configdefinitions/src/vespa/attributes.def
+++ b/configdefinitions/src/vespa/attributes.def
@@ -4,12 +4,13 @@ namespace=vespa.config.search
attribute[].name string
attribute[].datatype enum { STRING, BOOL, UINT2, UINT4, INT8, INT16, INT32, INT64, FLOAT16, FLOAT, DOUBLE, PREDICATE, TENSOR, REFERENCE, NONE } default=NONE
attribute[].collectiontype enum { SINGLE, ARRAY, WEIGHTEDSET } default=SINGLE
-attribute[].dictionary.type enum { BTREE, HASH, BTREE_AND_HASH } default = BTREE
-attribute[].dictionary.match enum { CASE_SENSITIVE, CASE_INSENSITIVE, CASED, UNCASED } default=CASE_INSENSITIVE
+attribute[].dictionary.type enum { BTREE, HASH, BTREE_AND_HASH } default = BTREE restart
+attribute[].dictionary.match enum { CASE_SENSITIVE, CASE_INSENSITIVE, CASED, UNCASED } default=UNCASED restart
+attribute[].match enum { CASED, UNCASED } default=UNCASED
attribute[].removeifzero bool default=false
attribute[].createifnonexistent bool default=false
-attribute[].fastsearch bool default=false
-attribute[].huge bool default=false
+attribute[].fastsearch bool default=false restart
+attribute[].huge bool default=false restart
# An attribute marked mutable can be updated by a query.
attribute[].ismutable bool default=false
attribute[].sortascending bool default=true
@@ -19,15 +20,15 @@ attribute[].sortlocale string default=""
# Allow bitvector postings in addition to btree postings ?
attribute[].enablebitvectors bool default=false
# Allow only bitvector postings, i.e. drop btree postings to save memory.?
-attribute[].enableonlybitvector bool default=false
+attribute[].enableonlybitvector bool default=false restart
# Allow fast access to this attribute at all times.
# If so, attribute is kept in memory also for non-searchable documents.
-attribute[].fastaccess bool default=false
+attribute[].fastaccess bool default=false restart
attribute[].arity int default=8
attribute[].lowerbound long default=-9223372036854775808
attribute[].upperbound long default=9223372036854775807
# The threshold is given as a ratio of the corpus size
-attribute[].densepostinglistthreshold double default=0.40
+attribute[].densepostinglistthreshold double default=0.40 restart
# Specification of tensor type if this attribute is of type TENSOR.
attribute[].tensortype string default=""
# Whether this is an imported attribute (from parent document db) or not.
@@ -35,7 +36,7 @@ attribute[].imported bool default=false
# The distance metric to use for nearest neighbor search.
# Is only used when the attribute is a 1-dimensional indexed tensor.
-attribute[].distancemetric enum { EUCLIDEAN, ANGULAR, GEODEGREES, INNERPRODUCT, HAMMING } default=EUCLIDEAN
+attribute[].distancemetric enum { EUCLIDEAN, ANGULAR, GEODEGREES, INNERPRODUCT, HAMMING } default=EUCLIDEAN restart
# Configuration parameters for a hnsw index used together with a 1-dimensional indexed tensor for approximate nearest neighbor search.
attribute[].index.hnsw.enabled bool default=false