From 7ad0214089f7c2a1a469c2e25e727f819040cd81 Mon Sep 17 00:00:00 2001 From: Many Date: Wed, 29 Sep 2021 14:49:41 +0200 Subject: [PATCH] Update milli/src/search/criteria/attribute.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Renault --- milli/src/search/criteria/attribute.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/milli/src/search/criteria/attribute.rs b/milli/src/search/criteria/attribute.rs index 468f2ce32..8703bb268 100644 --- a/milli/src/search/criteria/attribute.rs +++ b/milli/src/search/criteria/attribute.rs @@ -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::::into(level) as u32); let inner =