Finding high cardinality fields

Hi,

We have bunch of high cardinality fields and doing facets on them is very
expensive. So trying to find ways to prevent end-user from fetching facets
over those fields.

Meaning we are fine running some nightly jobs to figure out which are high
cardinality fields.
One approach is use of term facet query with large size value.then getting
the size of facet list to get count of unique terms.

Are other approaches to get count of unique terms in a field using facet.
e.g. kind of count query without returning any facets.

Thanks,
Ram

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.