I have a set of 2.8 million docs with sets of tags that I\'m querying with ElasticSearch, but many of these docs can be grouped together by one ID. I want to query my data u
You can use the min_doc_count parameter
min_doc_count
{ "aggs" : { "products" : { "terms" : { "field" : "product", "min_doc_count" : 100 } } } }