Hi
I am currently performing a search api call and that aggregates on a field and this works great, it gives me a list of terms and a count of those terms.
How would I go about supplementing the search response, with a selected number of fields from the latest document that was within the aggregate.
To get something roughly equivalent to
Term: TermA, Count: 50, Latest Field A: sunny, Latest Field B: 15degrees