diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-03-20 14:53:49 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-03-23 14:30:35 +0000 |
commit | b1324afaa4cb684862debfb97a492750960cd0cf (patch) | |
tree | 54736dbf9c186f15dd7c8ed80c0ff28f5cb090a7 /configdefinitions | |
parent | 4f29479b720958cba7e40e1142b379962f55c2e8 (diff) |
make HNSW distance metric configurable
Diffstat (limited to 'configdefinitions')
-rw-r--r-- | configdefinitions/src/vespa/attributes.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/attributes.def b/configdefinitions/src/vespa/attributes.def index eb7dad88995..604ddd40930 100644 --- a/configdefinitions/src/vespa/attributes.def +++ b/configdefinitions/src/vespa/attributes.def @@ -34,4 +34,5 @@ attribute[].imported bool default=false # 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 +attribute[].index.hnsw.distancemetric enum { EUCLIDEAN, ANGULAR, GEODEGREES } default=EUCLIDEAN attribute[].index.hnsw.neighborstoexploreatinsert int default=200 |