In this chapter, you learned about the different types of aggregations supported by Elasticsearch. We discussed how to run multilevel aggregations, for example, grouping a document based on a field and computing the average of each bucket. We also discussed how to run aggregations on geolocation, parent-child, and nested documents. You learned how to use Kibana to visualize the aggregations. We also discussed about doc values and field data which power the aggregations internally.
In the next chapter, we will discuss how to configure Elasticsearch.