Docs Menu

Docs HomeDevelop ApplicationsMongoDB Manual

Text Search

On this page

  • MongoDB Atlas Search
  • Legacy Text Search

MongoDB offers a 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.

For MongoDB Atlas users, MongoDB's Atlas Search supports fine-grained text indexing and a rich query language for fast, relevant search results. To learn more about full-text search indexes and $search queries, see:

Atlas Search also offers common analyzers for parsing text for full-text search, including support for over 40 language-specific analyzers.

For self-managed deployments, MongoDB's legacy 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.


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. See Text Search Languages for a list of supported languages.

←  SQL to MongoDB Mapping ChartPerform a Text Search (Legacy) →