How can I get full document from term aggregation on a specific field?

I'm doing a term aggregation on my documents which is giving me field name and count of it, and top of it I'm applying sub aggregation to get me document with latest time-stamp, which is working as expected.
But how can I get full document associated to the result?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.