Aggregations for Faceted Search
Use Elasticsearch aggregations to build facets, histograms, and summary metrics alongside search results.
Beyond Matching
Search finds documents; aggregations summarize them. They power faceted navigation, dashboards, and analytics, all in the same request as the search.
Two Families
Aggregations come in two main families:
- Bucket aggregations group documents (e.g. by category)
- Metric aggregations compute numbers (e.g. average price)
All lessons in this course
- Phrase and Proximity Searches
- Fuzzy and Wildcard Queries
- Highlighting Search Results
- Aggregations for Faceted Search