From ca18a63e3b492b218026ca012970d4bb7cecc992 Mon Sep 17 00:00:00 2001 From: Geir Storli Date: Thu, 12 Jan 2023 14:40:39 +0000 Subject: Expose SameElement query terms to ranking. A TermFieldMatchData is allocated per SameElement term, and this is used to signal matching docids in doUnpack() on the SameElement search iterator. This allows using the matches() rank feature on a field (virtual) that is searched using a SameElement term. --- .../tests/matching_elements_filler/matching_elements_filler_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'streamingvisitors') diff --git a/streamingvisitors/src/tests/matching_elements_filler/matching_elements_filler_test.cpp b/streamingvisitors/src/tests/matching_elements_filler/matching_elements_filler_test.cpp index cf9494a9f27..59e84b7d08c 100644 --- a/streamingvisitors/src/tests/matching_elements_filler/matching_elements_filler_test.cpp +++ b/streamingvisitors/src/tests/matching_elements_filler/matching_elements_filler_test.cpp @@ -102,7 +102,7 @@ struct MyQueryBuilder : public search::query::QueryBuilder