Adrien Grand 5c237fe834 Add new option min_doc_count to terms and histogram aggregations.
`min_doc_count` is the minimum number of hits that a term or histogram key
should match in order to appear in the response.

`min_doc_count=0` replaces `compute_empty_buckets` for histograms and will
behave exactly like facets' `all_terms=true` for terms aggregations.

Close #4662
2014-01-13 10:09:38 +01:00
..
2013-12-03 10:39:13 +01:00
2014-01-11 21:30:29 +09:00
2014-01-11 21:30:29 +09:00
2014-01-06 16:08:48 -06:00
2013-10-30 16:16:36 +01:00