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
1df5b8712b
commit
7ad0214089
@ -194,7 +194,6 @@ impl<'t, 'q> WordLevelIterator<'t, 'q> {
|
||||
match ctx.word_position_last_level(&word, in_prefix_cache)? {
|
||||
Some(_) => {
|
||||
// HOTFIX Meilisearch#1707: it is better to only iterate over the level 0.
|
||||
// A cleaner fix will be implemented soon.
|
||||
let level = TreeLevel::min_value();
|
||||
let interval_size = LEVEL_EXPONENTIATION_BASE.pow(Into::<u8>::into(level) as u32);
|
||||
let inner =
|
||||
|
Loading…
x
Reference in New Issue
Block a user