Bucket aggregations

Bucket aggregations #

Group documents into buckets: by field value, by numeric or date range, by query, by sampling, into geo cells, or relationally.

By field value #

By range #

By query and by relation #

  • Filter — one query, one bucket, in filter context
  • Filters — named bucket per query
  • Nested — aggregate per nested element
  • Children — walk a relation into child documents
  • Global — all documents, ignoring the query
  • Missing — documents lacking a field
  • Adjacency matrix — pairwise intersections of named filters

Sampling and geo #

Calendar October 6, 2026
Edit Edit this page