-
Notifications
You must be signed in to change notification settings - Fork 1
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
Possibility to have by default the search url Accent Unsensitive #70
Comments
In Nextends, there is a methode RemoveDiacritics( ) that correspond to this need. @rducom do you know how to translate this in SQL ?! Or we simply should invite people to change their collation in SQL in order to match row with accent insentive search ? |
Many things here :
|
If one just need CI/AI search, why would collation not be the preferred choice ? NB : If we change the way LIKE works in RDD, we are not going to provide an "option", we would then change the behaviour of LIKE as a whole. |
Changing collation is a "hard written" way to have such a feature. It implies more than just the serah, but also impact indexes, FK, and unicity checks... It's "too much" for juste this feature. |
OK I see. I found on stack overflow this thread, were someone suggest to make the search with a specific collation. This way, you do not have to change the collation of the column AND you can perform accent sensitive OR accent insensitive search on demand. Isn't it a good and cheap alternative to implementing fulltext search in SQL, which seems to be overkill for the need here ? see https://stackoverflow.com/questions/6357351/ignoring-accents-while-searching-the-database-using-entity-framework, third answer. |
Third answer is a collation transformation, which scans the whole table (so no index on it). |
When we have a request like https://{myDomain}/api/v3/myRessource?name=like,{key}.... It would nice if by default the like search is not sensitive to accent
The text was updated successfully, but these errors were encountered: