meilisearch-rust
meilisearch-rust copied to clipboard
[v1.15] Add `disableOnNumbers` to typo tolerance settings
This issue follows the changes related to Meilisearch v1.15.0 mega issue.
Description
Update the typo tolerance settings to allow deactivating typo tolerance on high entropy words.
For more context, see the related issue in Meilisearch: https://github.com/meilisearch/meilisearch/issues/5344
Tasks
- [ ] Update the settings API to handle
disableOnNumbersfor typo tolerance - [ ] Add a code sample under the
typo_tolerance_guide_5key in.code-samples.meilisearch.yaml - [ ] Add new tests cases
Additional information
For reference, here's how this is implemented in the meilisearch-js SDK:
client.index('movies').updateTypoTolerance({
disableOnNumbers: true
})