MeiliSearch/milli/src/search/criteria
bors[bot] e4a52e6e45
Merge #594
594: Fix(Search): Fix phrase search candidates computation r=Kerollmops a=ManyTheFish

This bug is an old bug but was hidden by the proximity criterion,
Phrase searches were always returning an empty candidates list when the proximity criterion is deactivated.

Before the fix, we were trying to find any words[n] near words[n]
instead of finding  any words[n] near words[n+1], for example:

for a phrase search '"Hello world"' we were searching for "hello" near "hello" first, instead of "hello" near "world".



Co-authored-by: ManyTheFish <many@meilisearch.com>
2022-08-17 13:22:52 +00:00
..
asc_desc.rs move the geosearch criteria out of asc_desc.rs 2021-09-08 18:24:09 +02:00
attribute.rs Switch to snapshot tests for search/criteria/attribute.rs 2022-08-10 15:53:46 +02:00
exactness.rs Remove limit of 1000 position per attribute 2021-10-12 10:10:50 +02:00
final.rs format the whole project 2021-06-16 18:33:33 +02:00
geo.rs store the geopoint in three dimensions 2021-12-14 12:21:24 +01:00
initial.rs format the whole project 2021-06-16 18:33:33 +02:00
mod.rs Remove useless lifetime declaration 2022-08-17 15:20:43 +02:00
proximity.rs Factorize phrase computation 2022-08-08 10:37:31 +02:00
typo.rs cargo fmt 2022-08-10 15:53:46 +02:00
words.rs format the whole project 2021-06-16 18:33:33 +02:00