mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-29 16:24:26 +01:00
exclude excluded canditates from search result candidates
This commit is contained in:
parent
cd83014fff
commit
dda28d7415
@ -243,9 +243,11 @@ impl<'a> Search<'a> {
|
|||||||
excluded_candidates = candidates.into_excluded();
|
excluded_candidates = candidates.into_excluded();
|
||||||
}
|
}
|
||||||
|
|
||||||
dbg!(excluded_candidates.len());
|
Ok(SearchResult {
|
||||||
|
matching_words,
|
||||||
Ok(SearchResult { matching_words, candidates: initial_candidates, documents_ids })
|
candidates: initial_candidates - excluded_candidates,
|
||||||
|
documents_ids,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user