Jacinto
Jacinto

Reputation: 558

MongoDb Search Accented Characters

My site has a basic search that works good except that MongoDB treats Équinoxe and Equinoxe as two separate things, so when I search for Équinoxe it will not find Equinoxe.

Is there a way to make MongoDB think of them as the same thing?

Upvotes: 0

Views: 292

Answers (1)

Derick
Derick

Reputation: 36774

MongoDB currently doesn't implement the Unicode locale-search algorithms, so it is up to you to come up with a way for this and create a "search friendly" extra field. I would suggest you look at the following things:

Upvotes: 1

Related Questions