Get the fields corresponding to a Max/Min document
When I view the max/min aggregate in the charts, I would like to see the corresponding document's field. For example, I want to visualise a table like below,
id max(field1) field2ofmaximumfield1
1
vote
![](https://secure.gravatar.com/avatar/e835f6e58d2e3310b6423589957e7ebf?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)