For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

$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 an Atlas Search index. See: