summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/hnsw_index/test.sd
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/derived/hnsw_index/test.sd')
-rw-r--r--config-model/src/test/derived/hnsw_index/test.sd10
1 files changed, 9 insertions, 1 deletions
diff --git a/config-model/src/test/derived/hnsw_index/test.sd b/config-model/src/test/derived/hnsw_index/test.sd
index 207ed764a87..82291be9747 100644
--- a/config-model/src/test/derived/hnsw_index/test.sd
+++ b/config-model/src/test/derived/hnsw_index/test.sd
@@ -2,13 +2,21 @@ search test {
document test {
field t1 type tensor(x[128]) {
indexing: attribute | index
- index {
+ attribute {
distance-metric: angular
+ }
+ index {
hnsw {
max-links-per-node: 32
neighbors-to-explore-at-insert: 300
}
}
}
+ field t2 type tensor(x[2]) {
+ indexing: attribute
+ attribute {
+ distance-metric: geodegrees
+ }
+ }
}
}