diff --git a/milli/src/search/criteria/attribute.rs b/milli/src/search/criteria/attribute.rs index 8703bb268..5eb1311a1 100644 --- a/milli/src/search/criteria/attribute.rs +++ b/milli/src/search/criteria/attribute.rs @@ -193,7 +193,7 @@ impl<'t, 'q> WordLevelIterator<'t, 'q> { ) -> heed::Result> { match ctx.word_position_last_level(&word, in_prefix_cache)? { Some(_) => { - // HOTFIX Meilisearch#1707: it is better to only iterate over the level 0. + // HOTFIX Meilisearch#1707: it is better to only iterate over level 0 for performances reasons. let level = TreeLevel::min_value(); let interval_size = LEVEL_EXPONENTIATION_BASE.pow(Into::::into(level) as u32); let inner =