mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 21:20:24 +01:00
Update milli/src/search/criteria/attribute.rs
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
parent
b3d6c6a9a0
commit
e92d137676
@ -453,7 +453,7 @@ fn initialize_query_level_iterators<'t, 'q>(
|
||||
}
|
||||
// QueryLevelIterator need to be sorted by level and folded in descending order.
|
||||
branch_positions.sort_unstable_by_key(|qli| qli.level);
|
||||
let folded_query_level_iterators = branch_positions
|
||||
let folded_query_level_iterators = branch_positions
|
||||
.into_iter()
|
||||
.fold(None, |fold: Option<QueryLevelIterator>, mut qli| match fold {
|
||||
Some(fold) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user