Docs Menu

Docs HomeMongoDB Manual

$search (aggregation)

$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:


The $search aggregation pipeline stage is only available for collections hosted on MongoDB Atlas cluster tiers running MongoDB version 4.2 or later. To learn more, see Atlas Search.

←  $sample (aggregation)$set (aggregation) →
Share Feedback
© 2023 MongoDB, Inc.


  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.