PierreP
Convex Community2y ago
4 replies
Pierre

withSearchIndex with diacritical signs

Hello,

Context:
I am working on a feature to search users by name within my app.

Problem:
However I noticed that if I don't type diacritical signs that are present on some user names, they do not appear in my search.
For instance, one of my user is called: Adélaïde . If I look for Adelaide, the withSearchIndex function won't return that user.
Overall after some testing, I believe that diacritical signs are considered as a totally different letter with the current searchIndex.

Request:
I think letters without diacritical signs should be considered close to the original letter. Not sure if it's easily feasible on your side and if you are able to introduce a ponderation somehow (instead of a YES/NO).

Thanks and have a nice day!
Was this page helpful?