diff options
author | Geir Storli <geirst@verizonmedia.com> | 2020-02-18 09:52:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-18 09:52:24 +0100 |
commit | f752e59466d042f686314aed42be59707a0766a9 (patch) | |
tree | 350db4c53183b4784c4cbf1afda8c7d5ff2a32f1 /configdefinitions | |
parent | 7814e2aec7b3396d6a9bbc66b7b8627817a04c33 (diff) | |
parent | d96f6d95757cbf9e51de1bbb871bc8ebfd221b55 (diff) |
Merge pull request #12232 from vespa-engine/geirst/config-for-hnsw-index-on-tensor-attribute
Add support for specifying a hnsw index together with a 1-dimensional…
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 |