summaryrefslogtreecommitdiffstats
path: root/searchlib/CMakeLists.txt
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-11-24 11:09:43 +0000
committerGeir Storli <geirst@yahooinc.com>2022-11-24 11:09:43 +0000
commit93767a816d8f449482012f0c065d3b926db4f811 (patch)
treeb2c91f3e59f76c12bd6786aa8d643115a7adf5c4 /searchlib/CMakeLists.txt
parentba11a8a87877dd3a97586255839b02782b70de87 (diff)
Add support for multiple vectors per document in exact distance calculator.
This also fixes a problem where previously the distance between the query tensor and a non-set attribute tensor (dense) would be calculated against origo. With this change the distance is std::numeric_limits<double>::max() is these cases.
Diffstat (limited to 'searchlib/CMakeLists.txt')
-rw-r--r--searchlib/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/CMakeLists.txt b/searchlib/CMakeLists.txt
index ae6469ae07a..6c5d8f4074f 100644
--- a/searchlib/CMakeLists.txt
+++ b/searchlib/CMakeLists.txt
@@ -219,6 +219,7 @@ vespa_define_module(
src/tests/sortspec
src/tests/tensor/dense_tensor_store
src/tests/tensor/direct_tensor_store
+ src/tests/tensor/distance_calculator
src/tests/tensor/distance_functions
src/tests/tensor/hnsw_index
src/tests/tensor/hnsw_nodeid_mapping