Chapter 6. Aggregations
In this chapter, we will cover the following topics:
- Executing an aggregation
- Executing the stats aggregation
- Executing the terms aggregation
- Executing the range aggregation
- Executing the histogram aggregation
- Executing the date histogram aggregation
- Executing the filter aggregation
- Executing the global aggregation
- Executing the geo distance aggregation
- Executing the nested aggregation
- Executing the top hit aggregation
Introduction
In developing search solutions, not only are results important, but they also help us to improve quality and search focus.
ElasticSearch provides a powerful tool to achieve these goals: aggregations.
The main usage of aggregations is to provide additional data to the search results to improve their quality ...
Get ElasticSearch Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.