Performance - Very large list of buckets in an aggregation field


I have to run aggregation on a very large corpus and pull out facets for
~10-12 fields. All fields except one have decent sized buckets (like, not
more than ~1K at a maximum), however, one field may have a very large
number of buckets. Probably in millions. Will that turn out to be a
performance issue?

All I am interested is in the grouping of the records based on that field.

Is there any best practice on how to achieve this, or is this not a normal


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
To view this discussion on the web visit
For more options, visit