openfoodfacts / search-a-licious

🍊🔎 A pluggable search service for large collections of objects (like Open Food Facts)
https://search.openfoodfacts.org
GNU Affero General Public License v3.0
6 stars 4 forks source link

Autocompletion without strict matching on accents #109

Open g123k opened 1 month ago

g123k commented 1 month ago

What

In the app, we use the /autocomplete API to list autocomplete brand names. But there is an issue with accentuated characters (e.g.: with "Häagen-Dazs").

When we call the autocomplete method, with Haa as a query, it never suggests Häagen-Dazs. Is there a way to bypass this strict matching?

(cc https://github.com/openfoodfacts/openfoodfacts-dart/issues/930)

Part of