Hello, I struggling with a query to get the unique values for a term called metric from my index while sorting the result on a different (numeric) field: metric_order.
Consider below example:
metric: metric_order:
A 0
B 3
C 1
D 2
My requirement is to get A, C, D, B as per metric_order
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.