summaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-06-25 21:03:07 +0000
committerArne Juul <arnej@verizonmedia.com>2020-06-25 21:03:07 +0000
commit3e273894fc49c215764c9beb4270ea206038af5f (patch)
tree764ffe7c7eb13cb3bc73cb05238b7bede32ce558 /configdefinitions
parent06edd9d62c6abd9d6de96bca493095474d663060 (diff)
add "InnerProduct" distance metric
Diffstat (limited to 'configdefinitions')
-rw-r--r--configdefinitions/src/vespa/attributes.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/configdefinitions/src/vespa/attributes.def b/configdefinitions/src/vespa/attributes.def
index a3de09639ae..a4e911a78ed 100644
--- a/configdefinitions/src/vespa/attributes.def
+++ b/configdefinitions/src/vespa/attributes.def
@@ -33,7 +33,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, INNER_PRODUCT } default=EUCLIDEAN
+attribute[].distancemetric enum { EUCLIDEAN, ANGULAR, GEODEGREES, INNERPRODUCT } 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