Skip to content
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

Missing suggestions with autocomplete (= Häagen-Dazs case) #930

Open
g123k opened this issue May 15, 2024 · 2 comments
Open

Missing suggestions with autocomplete (= Häagen-Dazs case) #930

g123k opened this issue May 15, 2024 · 2 comments

Comments

@g123k
Copy link
Contributor

g123k commented May 15, 2024

Hi everyone!

In the app, we use the autocomplete feature to list 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 the strict matching?

@teolemon teolemon added 🐛 bug Something isn't working autocomplete brands labels May 15, 2024
@monsieurtanuki
Copy link
Contributor

Is there a way to bypass the strict matching?

I suggest you forward that issue to https://search.openfoodfacts.org/docs#/default/taxonomy_autocomplete_autocomplete_get because even with a "fuzziness" of "2" (default is none) we cannot transform ä into a (looking for brand in en).

@g123k
Copy link
Contributor Author

g123k commented May 16, 2024

Is there a way to bypass the strict matching?

I suggest you forward that issue to search.openfoodfacts.org/docs#/default/taxonomy_autocomplete_autocomplete_get because even with a "fuzziness" of "2" (default is none) we cannot transform ä into a (looking for brand in en).

Ok, I will open an issue on the dedicated repo 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants