summaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2023-05-05 15:22:26 +0000
committerGeir Storli <geirst@yahooinc.com>2023-05-05 15:22:26 +0000
commit36ac8ebea478d02dfbd4e914e85e4f56d3e11cf2 (patch)
tree869f68f84614bd90307b57a3bf24299e56efa8ae /configdefinitions
parente0ed2a2f68f470a4348b6ee19c77b4d22eded8de (diff)
Make it possible to configure dotproduct 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 4f30e4610ec..00787b928a6 100644
--- a/configdefinitions/src/vespa/attributes.def
+++ b/configdefinitions/src/vespa/attributes.def
@@ -37,7 +37,7 @@ attribute[].maxuncommittedmemory long default=130000
# 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, PRENORMALIZED_ANGULAR } default=EUCLIDEAN
+attribute[].distancemetric enum { EUCLIDEAN, ANGULAR, GEODEGREES, INNERPRODUCT, HAMMING, PRENORMALIZED_ANGULAR, DOTPRODUCT } 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