Closed
Description
There are a few aggregations where we could really use some kind of clean way to get access to the "points" because we can iterate those in sorted order for the whole shard. Specifically composite
, min
, max
, date_histogram
and auto_date_histogram
look at the points. We'd love to have some nice way for them to do it that tells folks when they implement a new type that this is something that they should think about.
min
and max
look up the minimum or maximum value and cast it to a double. date_histogram
and, soon, auto_date_histogram
look up the minimum and maximum dates so they can deal with rounding more efficiently. composite
iterates values is sorted order.