meilisearch/MeiliSearch

Phrase search doesn't work when it contains stop_words

Open

#5.298 geöffnet am 29. Jan. 2025

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (733 Forks)batch import
bugcontribution acceptedhelp wanted

Repository-Metriken

Stars
 (20.887 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 4T 3h) (37 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide