Hi guys,
I'm trying to create a pie chart that will show the most recent docs using the Top Hit aggregation, then aggregate them by some field and sort them by the results of the Top Hit. Here's what I did:
As you can see above, the sort is not correct, this is because i sort by the max value of the totalSoreSize field, over the last 7d, but I was expecting to have it sorted based on the returned results from the Top Hit.
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.