-
Notifications
You must be signed in to change notification settings - Fork 265
add typo tolerance to Meilisearch 101 #1683
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
Conversation
- Disable typos on specific words | ||
- Disable typos on specific attributes | ||
|
||
Meilisearch accepts one typo for query terms containing `5` or more characters by default. If you search the movies index for `swaj`, you will not get any results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be referring to 5 as 5
? On a quick read I briefly thought that 5
was a search term.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used 5
here because the typo tolerance guide mostly uses backticks for number of characters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it makes sense to use backticks in the context of typo tolerance since we're speaking indirectly about the value of minWordSizeForTypos
.
- Disable typos on specific words | ||
- Disable typos on specific attributes | ||
|
||
Meilisearch accepts one typo for query terms containing `5` or more characters by default. If you search the movies index for `swaj`, you will not get any results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it makes sense to use backticks in the context of typo tolerance since we're speaking indirectly about the value of minWordSizeForTypos
.
Co-authored-by: Tommy <[email protected]>
Co-authored-by: Tommy <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks for adding it 🙌🏻 🏄🏻 🌊
bors merge |
Build succeeded: |
closes #1678