elasticsearch/elasticsearch — pull request #8421 by colings86 (2014-11-10 11:06:42+00:00)
Title: Aggregations: Added getProperty method to Aggregations

This allows arbitrary properties to be retrieved from an aggregation tree. The property is specified using the same syntax as the
order parameter in the terms aggregation. If a property path contians a multi-bucket aggregation the property values from each bucket will be returned in an array.