Similar to metric aggregations,
bucket aggregations are also categorized into two forms: Single buckets that contain only a single bucket in the response, and multi buckets that contain more than one bucket in the response.
The following are the most important aggregations that are used to create buckets:
We will cover a few more aggregations such as
geo aggregations in subsequent chapters.
Buckets aggregation response formats are different from the response formats of metric aggregations. The response of a
bucket aggregation usually comes ...