mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-23 05:14:27 +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.
|
/// and from eventual chainned QueryLevelIterator.
|
||||||
fn next(&mut self, allowed_candidates: &RoaringBitmap, tree_level: TreeLevel) -> heed::Result<Option<(u32, u32, RoaringBitmap)>> {
|
fn next(&mut self, allowed_candidates: &RoaringBitmap, tree_level: TreeLevel) -> heed::Result<Option<(u32, u32, RoaringBitmap)>> {
|
||||||
let parent_result = match self.parent.as_mut() {
|
let parent_result = match self.parent.as_mut() {
|
||||||
Some(parent) => {
|
Some(parent) => Some(parent.next(allowed_candidates, tree_level)?),
|
||||||
Some(parent.next(allowed_candidates, tree_level)?)
|
|
||||||
},
|
|
||||||
None => None,
|
None => None,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user