Update milli/src/search/criteria/initial.rs

Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
Many the fish 2022-10-17 18:23:20 +02:00 committed by GitHub
parent 516e838eb4
commit 81919a35a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ impl<D: Distinct> Criterion for Initial<'_, D> {
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.
let bucket_candidates = match &mut self.distinct {
Some(distinct) => {