On this page本页内容
MongoDB offers a full-text search solution, MongoDB Atlas Search, for data hosted on MongoDB Atlas. MongoDB为托管在MongoDB Atlas上的数据提供了全文搜索解决方案MongoDB Atlas search。A legacy text search capability is available for users self-managing MongoDB deployments.传统文本搜索功能可用于用户自我管理MongoDB部署。
For MongoDB Atlas users, MongoDB's Atlas Search supports fine-grained text indexing and a rich query language for fast, relevant search results. 对于MongoDB Atlas用户,MongoDB的Atlas搜索支持细粒度文本索引和丰富的查询语言,以获得快速、相关的搜索结果。To learn more about full-text search indexes and 要了解有关全文搜索索引和$search
queries, see:$search
查询的更多信息,请参阅:
Atlas Search also offers common analyzers for parsing text for full-text search, including support for over 40 language-specific analyzers.Atlas Search还提供了用于解析全文搜索的文本的通用分析器,包括对40多种语言特定分析器的支持。
For self-managed deployments, MongoDB's legacy text search capability supports query operations that perform a text search of string content. 对于自管理部署,MongoDB的传统文本搜索功能支持对字符串内容执行文本搜索的查询操作。To perform text search, MongoDB uses a text index and the 为了执行文本搜索,MongoDB使用文本索引和$text
operator.$text
运算符。
Views视图 do not support text search.不支持文本搜索。
To learn more about legacy text search for self-managed deployments, see:要了解有关自我管理部署的旧式文本搜索的更多信息,请参阅:
MongoDB also supports text search for various languages. MongoDB还支持各种语言的文本搜索。See Text Search Languages for a list of supported languages.有关支持的语言列表,请参阅文本搜索语言。