summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/tensor
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-03-20 14:53:49 +0000
committerArne Juul <arnej@verizonmedia.com>2020-03-23 14:30:35 +0000
commitb1324afaa4cb684862debfb97a492750960cd0cf (patch)
tree54736dbf9c186f15dd7c8ed80c0ff28f5cb090a7 /config-model/src/test/derived/tensor
parent4f29479b720958cba7e40e1142b379962f55c2e8 (diff)
make HNSW distance metric configurable
Diffstat (limited to 'config-model/src/test/derived/tensor')
-rw-r--r--config-model/src/test/derived/tensor/attributes.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/config-model/src/test/derived/tensor/attributes.cfg b/config-model/src/test/derived/tensor/attributes.cfg
index a8531f73c1e..780f47ee3d5 100644
--- a/config-model/src/test/derived/tensor/attributes.cfg
+++ b/config-model/src/test/derived/tensor/attributes.cfg
@@ -21,6 +21,7 @@ attribute[].tensortype "tensor<float>(x[2],y[1])"
attribute[].imported false
attribute[].index.hnsw.enabled false
attribute[].index.hnsw.maxlinkspernode 16
+attribute[].index.hnsw.distancemetric EUCLIDEAN
attribute[].index.hnsw.neighborstoexploreatinsert 200
attribute[].name "f3"
attribute[].datatype TENSOR
@@ -45,6 +46,7 @@ attribute[].tensortype "tensor(x{})"
attribute[].imported false
attribute[].index.hnsw.enabled false
attribute[].index.hnsw.maxlinkspernode 16
+attribute[].index.hnsw.distancemetric EUCLIDEAN
attribute[].index.hnsw.neighborstoexploreatinsert 200
attribute[].name "f4"
attribute[].datatype TENSOR
@@ -69,6 +71,7 @@ attribute[].tensortype "tensor(x[10],y[10])"
attribute[].imported false
attribute[].index.hnsw.enabled false
attribute[].index.hnsw.maxlinkspernode 16
+attribute[].index.hnsw.distancemetric EUCLIDEAN
attribute[].index.hnsw.neighborstoexploreatinsert 200
attribute[].name "f5"
attribute[].datatype TENSOR
@@ -93,6 +96,7 @@ attribute[].tensortype "tensor<float>(x[10])"
attribute[].imported false
attribute[].index.hnsw.enabled false
attribute[].index.hnsw.maxlinkspernode 16
+attribute[].index.hnsw.distancemetric EUCLIDEAN
attribute[].index.hnsw.neighborstoexploreatinsert 200
attribute[].name "f6"
attribute[].datatype FLOAT
@@ -117,4 +121,5 @@ attribute[].tensortype ""
attribute[].imported false
attribute[].index.hnsw.enabled false
attribute[].index.hnsw.maxlinkspernode 16
+attribute[].index.hnsw.distancemetric EUCLIDEAN
attribute[].index.hnsw.neighborstoexploreatinsert 200