diff --git a/milli/src/search/mod.rs b/milli/src/search/mod.rs index d53bcafb7..dcb2e0803 100644 --- a/milli/src/search/mod.rs +++ b/milli/src/search/mod.rs @@ -243,9 +243,11 @@ impl<'a> Search<'a> { excluded_candidates = candidates.into_excluded(); } - dbg!(excluded_candidates.len()); - - Ok(SearchResult { matching_words, candidates: initial_candidates, documents_ids }) + Ok(SearchResult { + matching_words, + candidates: initial_candidates - excluded_candidates, + documents_ids, + }) } }