aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/hnsw_index/test.sd
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2020-02-17 16:30:41 +0000
committerGeir Storli <geirst@verizonmedia.com>2020-02-17 16:30:41 +0000
commitd96f6d95757cbf9e51de1bbb871bc8ebfd221b55 (patch)
tree3a5438066d2b7e5d91cf90a72b8e098ee22ee820 /config-model/src/test/derived/hnsw_index/test.sd
parentc2d7a2936f9a6c92b086dbb738306bc1d690115d (diff)
Add support for specifying a hnsw index together with a 1-dimensional indexed tensor.
Diffstat (limited to 'config-model/src/test/derived/hnsw_index/test.sd')
-rw-r--r--config-model/src/test/derived/hnsw_index/test.sd13
1 files changed, 13 insertions, 0 deletions
diff --git a/config-model/src/test/derived/hnsw_index/test.sd b/config-model/src/test/derived/hnsw_index/test.sd
new file mode 100644
index 00000000000..03ede04208b
--- /dev/null
+++ b/config-model/src/test/derived/hnsw_index/test.sd
@@ -0,0 +1,13 @@
+search test {
+ document test {
+ field t1 type tensor(x[128]) {
+ indexing: attribute | index
+ index {
+ hnsw {
+ max-links-per-node: 32
+ neighbors-to-explore-at-insert: 300
+ }
+ }
+ }
+ }
+}