
Case-insensitive queries on MongoDB
2014, Dec 03
Short version: you can’t.
Long version: well…. you can’t 😀 Or at least you can’t NOW, based on what is stated here : https://jira.mongodb.org/browse/SERVER-90 .
If you really need case-insensitive queries one option is to create another field with a lowercase representation of the text, put an index on it and run your queries on this field instead.