DomDew/strapi-plugin-fuzzy-search

Support accents / diatrics? (é è à ç etc...)

maximelebreton opened this issue · 6 comments

Hello @DomDew,

I'm using your plugin for a french website and this language use accents / diatrics.

So when i'm searching identite keyword, and in my content the word is identité, I have no results.

The author of fuzzysort suggest this solution in this comment: farzher/fuzzysort#23 (comment), but I dont know how to implement it through your plugin?

Any suggestion?

Thanks!

Hey @maximelebreton,

Thanks for bringing this up!

do you have transliteration enabled? That might solve the problem you are facing.

If you have it enabled and are still not getting results, than I'd say this would have to be a new feature...

hello @DomDew, thanks for your time, and sorry for my late response,

I have only one language on this site (french), but even if I had activated transliteration, it would not solve the problem,
because I want results from a french word without accent (input: identite -> output: identité).

Thanks!

I also need this feature

Why does Strapi does not include diacritics insensitive search by default :(

I got the same problem, any solution?

Hey everyone,
can you check if things are working for you in v3.0.0?

Should work better now ✌️:
Bildschirmfoto 2024-06-19 um 11 17 21