Grouping similar buckets

My aggregations buckets are sorted by doc_count at the moment. I would like to group them by similar buckets (e.g 40 km/h, 50 km/h, 60 km/h) even if doc_count is different. Is this even possible?


can you add some more context around that request? Maybe provide a fully fledged example document, this way it might be easier to follow what you are after. You can sort aggregation buckets by different factors than just the doc count.


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