-
Notifications
You must be signed in to change notification settings - Fork 91
Add disableOnNumbers
to typo tolerance settings
#1116
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
Add disableOnNumbers
to typo tolerance settings
#1116
Conversation
disableOnNumbers
to typo tolerance settings
""" WalkthroughA new boolean field Changes
Sequence Diagram(s)sequenceDiagram
participant TestSuite
participant Index
participant SettingsAPI
TestSuite->>Index: update_typo_tolerance({disableOnNumbers: True})
Index->>SettingsAPI: Send update request
SettingsAPI-->>Index: Confirm update (task status)
TestSuite->>Index: get_typo_tolerance()
Index->>SettingsAPI: Fetch typo tolerance settings
SettingsAPI-->>Index: Return settings (disable_on_numbers: True)
TestSuite->>TestSuite: Assert disable_on_numbers is True
Assessment against linked issues
Assessment against linked issues: Out-of-scope changes
Possibly related issues
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Hi @nnethercott, and thanks for your contribution!
This is all good except for the code sample.
Can you please add an example under the typo_tolerance_guide_5
key in .code-samples.meilisearch.yaml
?
Then we'll be ready to merge 🙏
7edc3e4
to
b1d22fe
Compare
b1d22fe
to
50f201a
Compare
The author already did the Strift's suggestions!
Pull Request
Allow disabling of typo tolerance for numbers in meilisearch 1.15
Related issue
Fixes #1114
What does this PR do?
disable_on_numbers
toTypoTolerance
classPR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!
Summary by CodeRabbit
New Features
Tests