How to get DocCount for all terms?

Hi everyone,

I really want to know how to get document count for all terms. That is, for every term, I want to know how many documents contain it.

I'm using term aggregation now but it seems that it's not a good idea because field data for text is not recommended.

Is there any clever way?

Best

that's the only way to really do what you want IMO

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