aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/hnsw_index
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2020-06-19 11:47:24 +0000
committerGeir Storli <geirst@verizonmedia.com>2020-06-19 11:47:24 +0000
commitcdc65c6b2b0734fb97b7f466ba0139ce6406559c (patch)
tree033a09e26f015211ba1d5e49721f4277dd04151e /config-model/src/test/derived/hnsw_index
parent2a4d87ba45101d5db0fe906846f99d4ea9f1334c (diff)
Add flag to enable multi-threaded indexing for a hnsw index.
Diffstat (limited to 'config-model/src/test/derived/hnsw_index')
-rw-r--r--config-model/src/test/derived/hnsw_index/attributes.cfg2
-rw-r--r--config-model/src/test/derived/hnsw_index/test.sd1
2 files changed, 3 insertions, 0 deletions
diff --git a/config-model/src/test/derived/hnsw_index/attributes.cfg b/config-model/src/test/derived/hnsw_index/attributes.cfg
index 087a116f4cd..9cea76174c7 100644
--- a/config-model/src/test/derived/hnsw_index/attributes.cfg
+++ b/config-model/src/test/derived/hnsw_index/attributes.cfg
@@ -24,6 +24,7 @@ attribute[].index.hnsw.enabled true
attribute[].index.hnsw.maxlinkspernode 32
attribute[].index.hnsw.distancemetric ANGULAR
attribute[].index.hnsw.neighborstoexploreatinsert 300
+attribute[].index.hnsw.multithreadedindexing true
attribute[].name "t2"
attribute[].datatype TENSOR
attribute[].collectiontype SINGLE
@@ -50,3 +51,4 @@ attribute[].index.hnsw.enabled false
attribute[].index.hnsw.maxlinkspernode 16
attribute[].index.hnsw.distancemetric EUCLIDEAN
attribute[].index.hnsw.neighborstoexploreatinsert 200
+attribute[].index.hnsw.multithreadedindexing false
diff --git a/config-model/src/test/derived/hnsw_index/test.sd b/config-model/src/test/derived/hnsw_index/test.sd
index 82291be9747..373624c9e7b 100644
--- a/config-model/src/test/derived/hnsw_index/test.sd
+++ b/config-model/src/test/derived/hnsw_index/test.sd
@@ -9,6 +9,7 @@ search test {
hnsw {
max-links-per-node: 32
neighbors-to-explore-at-insert: 300
+ multi-threaded-indexing
}
}
}