In this example I used a Top Hit aggregation to expose the Carrier field as a column in the table of max ticket prices per day. The Carrier field is analogous to the tag field in your example. Does this help give you an idea of how you can accomplish your goal?
Yes, I think that's right. And you'll want to change the "Sort on" field to sort on the field you're performing the Min aggregation on (AvgTicketPrice in my example, value in your case).
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.