-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Improve ranking rules error message #2407
Comments
Hello @juchom Thanks for this report, I put it as good first issue. The change should be done on the milli's repo. PS: nice choice of test, @ManyTheFish can be proud 😇 |
hi option for a solution change the error message to :
if true, pls notify me i would like to take this one :) |
hello @YanivDan, a PR has already been opened to address this issue here meilisearch/milli#536. Thanks for helping out! |
536: Improves ranking rules error message r=Kerollmops a=matthias-wright This PR improves the ranking rules error message to properly reflect the case sensitivity. The issue was highlighted in [meilisearch/issues/2407](meilisearch/meilisearch#2407). Cheers! Co-authored-by: Matthias Wright <matthias.s.wright@gmail.com>
2468: Update milli 0.29 r=ManyTheFish a=ManyTheFish - [x] Update milli to 0.29 - [x] Integrate charabia - [x] Set disabled_words to default when Index::exact_words returns None - [x] Fix ranking rules integration test fixes #2375 fixes #2144 fixes #2417 fixes #2407 Co-authored-by: ManyTheFish <many@meilisearch.com>
2468: Update milli 0.29 r=ManyTheFish a=ManyTheFish - [x] Update milli to 0.29 - [x] Integrate charabia - [x] Set disabled_words to default when Index::exact_words returns None - [x] Fix ranking rules integration test fixes #2375 fixes #2144 fixes #2417 fixes #2407 Co-authored-by: ManyTheFish <many@meilisearch.com>
2468: Update milli 0.29 r=curquiza a=ManyTheFish - [x] Update milli to 0.29 - [x] Integrate charabia - [x] Set disabled_words to default when Index::exact_words returns None - [x] Fix ranking rules integration test fixes #2375 fixes #2144 fixes #2417 fixes #2407 Co-authored-by: ManyTheFish <many@meilisearch.com>
closed by meilisearch/milli#536 |
2468: Update milli 0.29 r=irevoire a=ManyTheFish - [x] Update milli to 0.29 - [x] Integrate charabia - [x] Set disabled_words to default when Index::exact_words returns None - [x] Fix ranking rules integration test fixes #2375 fixes #2144 fixes #2417 fixes #2407 Co-authored-by: ManyTheFish <many@meilisearch.com>
2468: Update milli 0.29 r=curquiza a=ManyTheFish - [x] Update milli to 0.29 - [x] Integrate charabia - [x] Set disabled_words to default when Index::exact_words returns None - [x] Fix ranking rules integration test fixes #2375 fixes #2144 fixes #2417 fixes #2407 Co-authored-by: ManyTheFish <many@meilisearch.com>
I re-open, we will close it once the fix is available in Meilisearch 😊 |
2468: Update milli 0.29 r=ManyTheFish a=ManyTheFish - [x] Update milli to 0.29 - [x] Integrate charabia - [x] Set disabled_words to default when Index::exact_words returns None - [x] Fix ranking rules integration test fixes #2375 fixes #2144 fixes #2417 fixes #2407 Co-authored-by: ManyTheFish <many@meilisearch.com>
2468: Update milli 0.29 r=ManyTheFish a=ManyTheFish - [x] Update milli to 0.29 - [x] Integrate charabia - [x] Set disabled_words to default when Index::exact_words returns None - [x] Fix ranking rules integration test fixes #2375 fixes #2144 fixes #2417 fixes #2407 Co-authored-by: ManyTheFish <many@meilisearch.com>
Describe the bug
When changing the rules, the error message is misleading. According to the code :
meilisearch/meilisearch-http/tests/settings/get_settings.rs
Lines 285 to 290 in 6d22105
Accepted rules are
Words, Typo, Sort, Proximity, Attribute, Exactness
in fact accepted rules arewords, typo, sort, proximity, attribute, exactness
To Reproduce
Try sending a rule with a capital letter
Expected behavior
The rule name is case insensitive and the endpoint needs a fix and the error message is correct.
The rule name is case sensitive and the error message needs a fix to match this requirement.
Meilisearch version: [e.g. v0.27.1]
The text was updated successfully, but these errors were encountered: