diff options
author | Geir Storli <geirst@verizonmedia.com> | 2020-02-17 16:30:41 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2020-02-17 16:30:41 +0000 |
commit | d96f6d95757cbf9e51de1bbb871bc8ebfd221b55 (patch) | |
tree | 3a5438066d2b7e5d91cf90a72b8e098ee22ee820 /configdefinitions | |
parent | c2d7a2936f9a6c92b086dbb738306bc1d690115d (diff) |
Add support for specifying a hnsw index together with a 1-dimensional indexed tensor.
Diffstat (limited to 'configdefinitions')
-rw-r--r-- | configdefinitions/src/vespa/attributes.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/attributes.def b/configdefinitions/src/vespa/attributes.def index f9db9eb2f0d..eb7dad88995 100644 --- a/configdefinitions/src/vespa/attributes.def +++ b/configdefinitions/src/vespa/attributes.def @@ -30,3 +30,8 @@ attribute[].densepostinglistthreshold double default=0.40 attribute[].tensortype string default="" # Whether this is an imported attribute (from parent document db) or not. 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.neighborstoexploreatinsert int default=200 |