This version of the documentation is archived and no longer
supported. View the current documentation to learn how to
upgrade your version of MongoDB.
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 language value of "none"
, then the text search
uses simple tokenization with no list of stop words and no stemming.