mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08:00
Update milli/src/search/criteria/attribute.rs
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
parent
498c2b298c
commit
b3d6c6a9a0
@ -77,9 +77,7 @@ impl<'t> Criterion for Attribute<'t> {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
let found_candidates = set_compute_candidates(self.ctx, flattened_query_tree, candidates, wdcache)?;
|
match set_compute_candidates(self.ctx, flattened_query_tree, candidates, wdcache)? {
|
||||||
|
|
||||||
match found_candidates {
|
|
||||||
Some(candidates) => candidates,
|
Some(candidates) => candidates,
|
||||||
None => {
|
None => {
|
||||||
return Ok(Some(CriterionResult {
|
return Ok(Some(CriterionResult {
|
||||||
|
Loading…
Reference in New Issue
Block a user