Text Search Languages on Self-Managed Deployments
This version of the documentation is archived and no longer supported. To
upgrade your 5.0 deployment, see the MongoDB 6.0 upgrade procedures.
MongoDB offers a premium full-text search solution, MongoDB Atlas Search, for data hosted on MongoDB Atlas. A legacy text search capability is available for users self-managing MongoDB deployments.
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.
See also: