I add field \'search_string\' to my document and index it. db.my_collection.createIndex({search_string: \"text\"})
Search_string contains this: \'a ar are aren
By default, MongoDB uses English for text index and the stop words are not indexed.
If you specify a language value of "none", then the text search uses simple tokenization with no list of stop words and no stemming.
So you should create your index like this :
db.my_collection.createIndex(
{ search_string : "text" },
{ default_language: "none" }
)
MongoDB documentation here.