mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-18 17:11:15 +08:00
Update milli/src/search/criteria/initial.rs
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
parent
516e838eb4
commit
81919a35a2
@ -52,7 +52,7 @@ impl<D: Distinct> Criterion for Initial<'_, D> {
|
|||||||
candidates &= filtered_candidates;
|
candidates &= filtered_candidates;
|
||||||
}
|
}
|
||||||
|
|
||||||
// because the bucket_candidates should be an exhastive count of the matching documents,
|
// because the bucket_candidates should be an exhaustive count of the matching documents,
|
||||||
// we precompute the distinct attributes.
|
// we precompute the distinct attributes.
|
||||||
let bucket_candidates = match &mut self.distinct {
|
let bucket_candidates = match &mut self.distinct {
|
||||||
Some(distinct) => {
|
Some(distinct) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user