Does composite aggregation support min_doc_count filter?
I want to only return aggregations those have min_doc_count 2
Does composite aggregation support min_doc_count filter?
I want to only return aggregations those have min_doc_count 2
min_doc_count is not supported by the composite aggregation and according to this issue it doesn't seem like it will ever be the case.
You can achieve the min_doc_count functionality by paginating all buckets and doing it on the client side.