ElasticSearch Filter by Aggregation Result

First to answer your actual query, in 1.4 there is nothing to filter the buckets returned by the aggregations on the client side. Coming in 2.0 with the new pipeline aggregations there is the bucket_selector aggregation which will allow you to do this kind of filtering though.

And to your side note question, yes this is the right place to be asking all types of questions about using, developing maintaining etc. Elasticsearch. These forums are indeed fairly new but they are also pretty active.

HTH

1 Like