MeiliSearch/milli/src/search
bors[bot] 4f1ccbc495
Merge #3525
3525: Fix phrase search containing stop words r=ManyTheFish a=ManyTheFish

# Summary
A search with a phrase containing only stop words was returning an HTTP error 500,
this PR filters the phrase containing only stop words dropping them before the search starts, a query with a phrase containing only stop words now behaves like a placeholder search.

fixes https://github.com/meilisearch/meilisearch/issues/3521

related v1.0.2 PR on milli: https://github.com/meilisearch/milli/pull/779



Co-authored-by: ManyTheFish <many@meilisearch.com>
2023-03-02 10:55:37 +00:00
..
criteria Remove some clippy type complexity warns by deboxing iters 2023-02-20 13:52:27 +01:00
distinct Make clippy happy 2023-01-17 18:25:54 +01:00
facet add facet test 2023-02-20 13:52:28 +01:00
matches Return an internal error in the case of matching word is invalid 2023-03-01 19:05:16 +01:00
fst_utils.rs custom fst automatons 2022-03-15 17:38:35 +01:00
mod.rs Merge branch 'main' into enhance-language-detection 2023-02-20 18:14:34 +01:00
query_tree.rs Return an internal error in the case of matching word is invalid 2023-03-01 19:05:16 +01:00