mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
Update milli/src/search/criteria/attribute.rs
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
parent
3b1358b62f
commit
329bd4a1bb
@ -304,9 +304,7 @@ impl<'t, 'q> QueryLevelIterator<'t, 'q> {
|
||||
/// and from eventual chainned QueryLevelIterator.
|
||||
fn next(&mut self, allowed_candidates: &RoaringBitmap, tree_level: TreeLevel) -> heed::Result<Option<(u32, u32, RoaringBitmap)>> {
|
||||
let parent_result = match self.parent.as_mut() {
|
||||
Some(parent) => {
|
||||
Some(parent.next(allowed_candidates, tree_level)?)
|
||||
},
|
||||
Some(parent) => Some(parent.next(allowed_candidates, tree_level)?),
|
||||
None => None,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user