Database Manual / Reference / Query Language / Aggregation Stages

$search (aggregation stage)

$search aggregation pipeline stage performs a full-text search of the field or fields in an Atlas collection. The fields must be covered by a MongoDB Search index.

For example, you can use $search to perform the following types of operations:

For more details, see: