Auto-interval histogram aggregation

I know that ES supports auto-interval date aggs, but do they have the same feature for normal ints? Example: I have a product index with a bunch of prices and I want to make exactly 5 buckets for the price range. Can ES do this? If so, can you please give some pseudo code with the parameters?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.