Closed zjttfs closed 2 years ago
Hey @zjttfs,
It can feel like a bug but it is not, the engine found out that woman with a typo can match the start of Romance. You would say that it is the same with the word woma but that's not as the engine will discard any typo on a word with 4 or fewer characters. You can read more about the typo rules on this documentation page.
Furthermore, the woman query is considered as a prefix word query as it is the last word of the query and it doesn't contain a space and this is why the e of romance is not part of the comparison with woman, there is only one typo. You can read more about the search engine prefix feature on the documentation.
Hi @zjttfs
If the expected behavior is to not want to consider the field genres
as an attribute that users could search via the search bar, you can explicitly set title
as a searchableAttributes. By default, all fields are set as searchableAttributes on a newly created index.
To be able to filter interactively by genres
, you can set it as a filterableAttributes.
Describe the bug Searching for
woman
brought up irrelevant resultsCarol
To Reproduce
Expected behavior
only
Wonder Woman
Screenshots
MeiliSearch version:
v0.24.0
Additional context
Installing with docker
docker pull getmeili/meilisearch:latest