Mongodb match accented characters as underlying character
I'm from a country where we have more characters than English alphabet. Basically what I want to do is:
I have word ščumnik, and I want to search in database for šcumnik, scumnik, sčumnik,
š=s ž=z č=c é=e ...
I want to ignore everything above letter.
Question on how to remove diacritics at StackOverflow
After diacritics is removed, you can use the resulted value for example for searching and index building.
There is currently no discussion for this recipe.
This recipe can be found in it's original form on Stack Over Flow.