285ef0f06d
This change makes the response API object for Histogram Aggregations the same for all types of Histogram, and does the same for all types of Ranges. The change removes getBucketByKey() from all aggregations except filters and terms. It also reduces the methods on the Bucket class to just getKey() and getKeyAsString(). The getKey() method returns Object and the actual Type is returns will be appropriate for the type of aggregation being run. e.g. date_histogram will return a DateTime for this method and Histogram will return a Number. |
||
---|---|---|
.. | ||
index.asciidoc | ||
migrate_1_0.asciidoc | ||
migrate_1_4.asciidoc | ||
migrate_2_0.asciidoc |