You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In execute_search the locals are only taken from the search parameter, but if the locales are set to None, Meilisearch should be able to use the stored localized_attributes_rules to determine a subset of detectable languages.
TODO
Make Meilisearch use the stored localized_attributes_rules to auto-detect Language at search time
add tests
The text was updated successfully, but these errors were encountered:
4881: Infer locales from index settings r=curquiza a=ManyTheFish
# Pull Request
## Related issue
Fixes#4828Fixes#4816
## What does this PR do?
- Add some test using `AttributesToSearchOn`
- Make the search infer the language based on the index settings when the `locales` filed is not precise
CI is now working:
https://github.com/meilisearch/meilisearch/actions/runs/10490050545/job/29055955667
Co-authored-by: ManyTheFish <[email protected]>
Summary
When putting the following Language settings:
Saying, "Everything is Japanese."
Then Meilisearch should be able to 100% detect Japanese without having to specify it at search time:
See the related PRD:
https://meilisearch.notion.site/v1-10-Language-settings-usage-26c5d98b553349d9abacbe7aff698e4e?pvs=74
Technical Approach
In execute_search the locals are only taken from the search parameter, but if the locales are set to
None
, Meilisearch should be able to use the storedlocalized_attributes_rules
to determine a subset of detectable languages.TODO
localized_attributes_rules
to auto-detect Language at search timeThe text was updated successfully, but these errors were encountered: