Hi, I have an index field with locale set to a dif...
# community-help
g
Hi, I have an index field with locale set to a different value than "en" ( for instance "fr"). How can I ignore diacritics but keeping the locale field? Is there a global configuration that can be done per locale? Currently what is happening: stored value in fr locale: "pâtes" search term "pates" will not match it at all For instance, in french the user might not type the accent. Thanks
k
How can I ignore diacritics but keeping the locale field?
Atleast for French, if you don't want the diacritics then just not set a locale. Is there a reason you want a locale otherwise?
g
Good question, I have set it on relevant fields to indicate what is fundamentally the locale of the field. I have to read again the documentation to understand exactly what would happen if I remove it. I would like not to remove also because my underlying application use it. shouldn't we have a remove_diactrics attribute instead ?
k
There is an open issue for that: https://github.com/typesense/typesense/issues/2093 But we haven't gotten around to it.
g
Thanks I will follow this!