Disable MongoDB Fulltext Stop Words
Adam C. |

MongoDB's FullText search uses a language field to determine the list of stop words for search and the rules for the stemmer and tokenizer, which is good most of the time.

Photo by Towfiqu barbhuiya on Unsplash

But if you don't want to use Stop Words in Mongodb's Fulltext search, you need to set the default language to "none" in the index. If you already created the index, you have to drop it, and then make the new one with "default language" to be "none". 

For example:

db.teams.createIndex(
  {name: "text", abbr: "text", betterName: "text"}, 
  {default_language: "none"}
);

After that,  I can search the stop words, for example, “BE”, an Abbreviation of a team, that I would like to search for.