-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing "typo" from ranking rules does not disable typo tolerance while searching #1103
Comments
I agree with @bhavyalatha26, this should be possible:
Algolia, for exemple, allows this with |
Hello, This issue will be fixed by a new feature/setting. I will close this issue in favor of our public roadmap. I invite everyone interested in this feature to upvote it on the roadmap. |
@qdequele Thank you for your answer and for sharing your public roadmap, that's awesome 👍 Nonetheless, I am confused by your linked idea: how would the proposed policy for prefix search work exactly? In a real-world use case, let's assume we have an index that contains only a UUID-type attribute. Is it possible to configure the index so that typo-tolerance is not applied at all? Let's then consider we have an index that contains a UUID-type attribute and a name attribute. Is it possible to configure the index' attributes so that typo-tolerance is disabled on the first attribute, but enabled on the second? As already mentioned by @theo-lubert in #1103 (comment), Algolia provides both My apologies if I failed to see how prefix search policy would solve that. If that's the case, I'll definitely up-vote it 😄 |
I agree with @sirdharma , it would make a lot more sense to me if this was field specific, like Algolia's "disableTypoToleranceOnAttributes", and also not limited to the prefix. @qdequele maybe this should be another feature on the roadmap. |
Was this ever added into meilisearch? The 3 things I'd love to see in meilisearch are:
|
Hello @Sembiance! Thanks for your feedback, it might interest @gmourier 😇 Also, about the SortBy, it will be implemented in v0.22.0 available in the middle of September, here is the tracking issue: #1581 |
About disable the typo tolerance: there is a workaround by using the phrase search (available in v0.21.0, the official release is next week). You have to surround each query word by However there are some limits to this workaround: using the FYI, I opened a feature request about it: meilisearch/product#176 |
@curquiza AWESOME workaround! That'll work great for the time being. Thanks! |
Describe the bug
To disable the typo tolerance while searching, it is recommended to remove the rule typo from the list of ranking rules. However this does not work. Even after removing it from the ranking rules, the results still seem to apply typo tolerance.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The search should ignore typo tolerance and follow only the required rules.
Screenshots
Additional context
I have also tried to use only ['exactness'] for raking rules, but still the typo tolerance is being applied.
The text was updated successfully, but these errors were encountered: