Is there a way for me to sort the aggregations by the sum of the user_count values per key? I want the data to stay in the same shape, but just change the sorting.
Thanks for the reply! It looks like this would work except that the cluster is currently using version 5.2.2 and it looks like bucket sort aggregation isn't available in that version. I think I have the query formatted correctly (shown below) but am getting:
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.