Text Search Languages
Atlas Full-Text Search
MongoDB Atlas Full-Text Search Indexes leverage Apache Lucene topower rich text search with features like language analysis andscoring.
Visit Atlas Full-Text Searchto learn more. You can use the Atlas promotional codeMONGODB4DOT2
for $200 of Atlas credit. For information onredeeming Atlas credit, see Atlas Billing.
The text index and the $text
operator supports the following languages:
Changed in version 2.6: MongoDB introduces version 2 of the text search feature. Withversion 2, text search feature supports using the two-letterlanguage codes defined in ISO 639-1. Version 1 of text search onlysupported the long form of each language name.
Removal of Support for RLP
MongoDB Enterprise no longer supports Text Search with BasisTechnology Rosette Linguistics Platform.
Language Name | ISO 639-1 (Two letter codes) |
---|---|
danish | da |
dutch | nl |
english | en |
finnish | fi |
french | fr |
german | de |
hungarian | hu |
italian | it |
norwegian | nb |
portuguese | pt |
romanian | ro |
russian | ru |
spanish | es |
swedish | sv |
turkish | tr |
Note
If you specify a language value of "none"
, then the text searchuses simple tokenization with no list of stop words and no stemming.
See also