Hi Team,
Could someone please show hints to implement the below requirement?
I have an index where two fields, first one is text field, and second is of integer. I need to take the highest number row from the unique(first and second fields) using Query DSL.
Example:
FirstField, SecondField
abc, 1
abc, 2
abc. 3
dac, 1
dac, 2
dac, 5
Expected result would be:
rows (abc,3), and (dac,5).
Please shred some light of formatting the DSL query.
Thanks
Venkatesh