From 014eaea428f9968b3bb92aa6e674a03d89f3dc05 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Tue, 23 Jan 2024 14:47:28 +0100 Subject: [PATCH] Use MatchingWords from keyword search instead of the one from vector search --- milli/src/search/hybrid.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/search/hybrid.rs b/milli/src/search/hybrid.rs index 67365cf52..b4c79f7f5 100644 --- a/milli/src/search/hybrid.rs +++ b/milli/src/search/hybrid.rs @@ -102,7 +102,7 @@ impl ScoreWithRatioResult { } SearchResult { - matching_words: left.matching_words, + matching_words: right.matching_words, candidates: left.candidates | right.candidates, documents_ids, document_scores,