meilisearch/MeiliSearch

Phrase search doesn't work when it contains stop_words

Aperta

#5298 aperta il 29 gen 2025

 (0 commenti) (0 reazioni) (0 assegnatari)Rust (2542 fork)batch import
bugcontribution acceptedhelp wanted

Metriche repository

Star
 (57.572 stelle)
Metriche merge PR
 (Merge medio 11g 20h) (41 PR mergiate in 30 g)

Descrizione

Describe the bug Searching a query containing a phrase search like "the soup of the day" when having stop words in the settings like ["of", "the"] will never return any document, even if some documents exactly match the query.

To Reproduce See the below discussion: https://github.com/orgs/meilisearch/discussions/793

Meilisearch version: v.1.12.7

Potential Fix See the below comment containing a part of the solution: https://github.com/orgs/meilisearch/discussions/793#discussioncomment-11967148

Guida contributor