$search (aggregation)
MongoDB 5.0 is end of life as of October 2024. This version of the documentation is no longer
supported. To upgrade your 5.0 deployment, see the MongoDB 6.0 upgrade procedures.
$search
aggregation pipeline stage performs a full-text search of
the field or fields in an Atlas collection. The fields must be covered
by an Atlas Search index. See:
Index Definitions to learn more about creating and managing Atlas Search indexes.
$search Aggregation Pipeline Stage to learn more about the
$search
pipeline stage syntax and usage.$search Operators to learn more about the
$search
aggregation pipeline stage operators.