aboutsummaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-06-25 10:11:26 +0000
committerArne Juul <arnej@verizonmedia.com>2020-06-25 10:11:26 +0000
commit06edd9d62c6abd9d6de96bca493095474d663060 (patch)
treedff352701248759bf1ceea65f6d55fc0cd58e017 /configdefinitions
parent0680bf96a4bf17aec0b9fde98ac5369c0991f0fb (diff)
add new distance metric, GC old setting
Diffstat (limited to 'configdefinitions')
-rw-r--r--configdefinitions/src/vespa/attributes.def4
1 files changed, 1 insertions, 3 deletions
diff --git a/configdefinitions/src/vespa/attributes.def b/configdefinitions/src/vespa/attributes.def
index a091fbc573c..a3de09639ae 100644
--- a/configdefinitions/src/vespa/attributes.def
+++ b/configdefinitions/src/vespa/attributes.def
@@ -33,13 +33,11 @@ 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 } default=EUCLIDEAN
+attribute[].distancemetric enum { EUCLIDEAN, ANGULAR, GEODEGREES, INNER_PRODUCT } default=EUCLIDEAN
# 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
attribute[].index.hnsw.maxlinkspernode int default=16
-# Deprecated: Remove on Vespa 8 or before when possible.
-attribute[].index.hnsw.distancemetric enum { EUCLIDEAN, ANGULAR, GEODEGREES } default=EUCLIDEAN
attribute[].index.hnsw.neighborstoexploreatinsert int default=200
# Whether multi-threaded indexing is enabled for this hnsw index.
attribute[].index.hnsw.multithreadedindexing bool default=false