I am currently using the bucket aggregation functionality in Elastic and it's working fine, but wanted to know if there is a way to return additional data dynamically as part of the aggregation results.
Based on the above, is there a way to return an additional field/key dynamically within the bucket array? I have a field in the data called "location_id". I would like to return this field alongside the "key" and "doc_count". Is there a way to do this?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.