Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bucket aggregation getBuckets() should be public. (searchbox-io#630)
Otherwise, if you're desigining APIs that work with any BucketAggregation subclass, you don't have a way without using things like reflection to get the buckets, keys, and counts regardless of specific aggregation type. Signed-off-by: John Dimeo <[email protected]>
- Loading branch information