Docs Menu
Docs Home
/
MongoDB Manual
/

Text Search

On this page

  • MongoDB Atlas Search
  • Text Search on Self-Managed Deployments

MongoDB provides different text search capabilities depending on whether your data is hosted on MongoDB Atlas or a self-managed deployment.

To perform text search on data hosted on MongoDB Atlas, use MongoDB Atlas Search. Atlas Search supports fine-grained text indexing and a rich query language for fast, relevant search results.

To learn more and get started with Atlas Search, see:

For data hosted on MongoDB Atlas, Atlas Search provides support for additional languages. To see the complete list of languages supported by Atlas Search, see the Atlas Search Language Analyzers.

For self-managed (non-Atlas) deployments, MongoDB's text search capability supports query operations that perform a text search of string content. To perform text search, MongoDB uses a text index and the $text operator.

Note

Views do not support text search.

To learn more about text search for self-managed deployments, see:

MongoDB also supports text search for various languages. For a list of supported languages, see Text Search Languages.

For data hosted on MongoDB Atlas, Atlas Search provides support for additional languages. To see the complete list of languages supported by Atlas Search, see the Atlas Search Language Analyzers.

Back

SQL to MongoDB Mapping Chart