Don't consider typo rule on numbers #688
macraig
started this conversation in
Feedback & Feature Proposal
Replies: 1 comment 2 replies
-
Hello @macraig,
This would allow us in the future to index numbers differently when tokenizing documents with Charabia during the indexing process |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feedback from @JamesToothill in meilisearch/meilisearch#3999
Feature description
When you have typo tolerance enabled with a
oneTypo
setting (in our case of4
), numeric typos are always considered.This means a search for example for:
"2001"
Gets results such as:
"2001: A Space Odyssey"
"2001: A Space Travesty"
"Dracula 2000"
"Fantasia 2000"
Current behaviour
Steps to reproduce the behaviour:
oneTypo
setting to4
(or less)Expected behavior
Algolia has a setting to disable this behaviour
allowTyposOnNumericTokens
which is defaulttrue
but which we would set tofalse
.This allows us to search for:
"2001"
And get results such as:
"2001: A Space Odyssey"
"2001: A Space Travesty"
But not irrelevant results such as:
"Dracula 2000"
"Fantasia 2000"
Meilisearch version:
v1.2.0
Beta Was this translation helpful? Give feedback.
All reactions