Aggregation statistic on the fields

Say I have a list of documents returned for a certain search query.
The documents can have different dynamic fields(defined using dynamic template)
is there a way to give me top 10 dynamic fields(based on product count) that appeared in these documents.

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