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:15 +02:00 committed by GitHub
parent 6f55e7844c
commit 516e838eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ impl<D: Distinct> Criterion for Initial<'_, D> {
.take()
.map(|mut answer| {
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(
self.ctx,
answer.query_tree.as_ref().unwrap(),