Bucketing on numerical data

Another common scenario is when we want to segment or slice the data into various buckets, based on a numerical field. For example, we may want to slice the product data by different price ranges, such as up to $10, $10 to $50, $50 to $100, and so on. You may want to segment the data by age group, employee count, and so on.

We will look at the following aggregations in this section:

  • Histogram aggregation
  • Range aggregation
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.116.146