From d96f6d95757cbf9e51de1bbb871bc8ebfd221b55 Mon Sep 17 00:00:00 2001 From: Geir Storli Date: Mon, 17 Feb 2020 16:30:41 +0000 Subject: Add support for specifying a hnsw index together with a 1-dimensional indexed tensor. --- configdefinitions/src/vespa/attributes.def | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configdefinitions/src') 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 -- cgit v1.2.3