diff options
author | Geir Storli <geirst@yahooinc.com> | 2023-05-05 15:22:26 +0000 |
---|---|---|
committer | Geir Storli <geirst@yahooinc.com> | 2023-05-05 15:22:26 +0000 |
commit | 36ac8ebea478d02dfbd4e914e85e4f56d3e11cf2 (patch) | |
tree | 869f68f84614bd90307b57a3bf24299e56efa8ae /configdefinitions | |
parent | e0ed2a2f68f470a4348b6ee19c77b4d22eded8de (diff) |
Make it possible to configure dotproduct distance metric.
Diffstat (limited to 'configdefinitions')
-rw-r--r-- | configdefinitions/src/vespa/attributes.def | 2 |
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 |