Docs Menu

Docs HomeMongoDB Manual

$searchMeta (aggregation)

searchMeta returns different types of metadata result documents for Atlas Search queries on the field or fields in an Atlas collection. The fields must be covered by an Atlas Search index. See:


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

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


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