meilisearch-rust icon indicating copy to clipboard operation
meilisearch-rust copied to clipboard

[v1.15] Add `disableOnNumbers` to typo tolerance settings

Open Strift opened this issue 6 months ago • 0 comments

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 disableOnNumbers for typo tolerance
  • [ ] Add a code sample under the typo_tolerance_guide_5 key 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
})

Strift avatar Jun 10 '25 07:06 Strift