diff options
author | Arne Juul <arnej@yahooinc.com> | 2023-04-18 07:32:45 +0000 |
---|---|---|
committer | Arne Juul <arnej@yahooinc.com> | 2023-04-20 12:54:39 +0000 |
commit | bbf7a4ad12383de93f8d873f240dd915ed67f3f8 (patch) | |
tree | c1ebd1aada8c95df5aac8b3fe892c8f58350b806 /configdefinitions | |
parent | 687be0d6e22caca23708de1493fb483069bbab0a (diff) |
add two names for distance metrics
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 2810284b3a3..a65ac74cc10 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 } default=EUCLIDEAN +attribute[].distancemetric enum { EUCLIDEAN, ANGULAR, GEODEGREES, INNERPRODUCT, HAMMING, PRENORMALIZED_ANGULAR, MAXIMUM_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 |