Docs Menu

Collectors

Collectors return a document representing the metadata results, typically an aggregation over the matching search results.

The $search aggregation pipeline stage has the following collector:

Operator
Description
Groups query results by values or ranges in specified, faceted fields and returns the count for each of those groups.
Give Feedback
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.