mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-02-03 00:53:27 +01:00
Update milli/src/search/criteria/initial.rs
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
parent
6f55e7844c
commit
516e838eb4
@ -40,7 +40,7 @@ impl<D: Distinct> Criterion for Initial<'_, D> {
|
|||||||
.take()
|
.take()
|
||||||
.map(|mut answer| {
|
.map(|mut answer| {
|
||||||
if self.exhaustive_number_hits && answer.query_tree.is_some() {
|
if self.exhaustive_number_hits && answer.query_tree.is_some() {
|
||||||
// resolve the whole query tree to retrieve an exhastive list of documents matching the query.
|
// resolve the whole query tree to retrieve an exhaustive list of documents matching the query.
|
||||||
let mut candidates = resolve_query_tree(
|
let mut candidates = resolve_query_tree(
|
||||||
self.ctx,
|
self.ctx,
|
||||||
answer.query_tree.as_ref().unwrap(),
|
answer.query_tree.as_ref().unwrap(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user