Searching for two words is not typo/plural resistant #97
Replies: 7 comments 5 replies
-
Hi! This is due to the fact that the typo tolerance rule doesn't allow typos on query words that are between 1 and 4 characters long. Since |
Beta Was this translation helpful? Give feedback.
-
I see, but it should still show up as search result, because both words ( |
Beta Was this translation helpful? Give feedback.
-
What do you mean by You typed |
Beta Was this translation helpful? Give feedback.
-
@curquiza I understand your reasoning but I'm saying as a human I would expect that search result to appear, because both words I entered are sub strings of the movie description. |
Beta Was this translation helpful? Give feedback.
-
I completely understand the non-intuitive behavior of this search result. What is needed here is the plural handling more than just the typo tolerance, which is applied in your situation and which leads to a non-intuitive behavior for you. If I'm correct, we don't have this feature on our roadmap yet, but you can submit this idea on it ("submit an idea" button at the top right). We really appreciate having the feedback of our users and your point of view on it would be really helpful 🙂 The current workaround is to add a plural/singular list of words as synonyms in MeiliSearch: https://docs.meilisearch.com/reference/features/settings.html#synonyms |
Beta Was this translation helpful? Give feedback.
-
In my use case it's not about plurals but about matching substrings. (It was just accidentally a plural in the example.) |
Beta Was this translation helpful? Give feedback.
-
@curquiza I think it also makes more sense to "stay in prefix search" when adding multiple words. As you said earlier:
I would suspect it would be more natural to always be in prefix search mode, even for multiple words.
And then if I wanted to drill down I would do:
There are even better and longer examples with company names and addresses. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
When I remove the
s
(so that the query is "moth flame"), this search result disappears (leading to zero results). Any idea why?(I'm using the online sandbox instance btw)
To Reproduce
Steps to reproduce the behavior:
s
Expected behavior
The search result should still appear.
Btw, a similar issue is when the query is "sky moth", this movie doesn't appear, but it should.
Beta Was this translation helpful? Give feedback.
All reactions