Note
MongoDB Search offers advanced full-text search capabilities, including support for more language analyzers. We recommend using MongoDB Search indexes and the $search stage instead of text indexes and the $text operator.
The text index and the $text operator may be used with the following languages, and accepts either the two-letter ISO 639-1 language code or the long form of the language name:
Language Name | ISO 639-1 (Two letter codes) |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If you specify a default_language value of none, the text index parses through each word in the field, including stop words, and ignores suffix stemming.