Re: Aggregation equivalent of Facet "global" : true ?

2014-06-11 Thread mooky
Aha. I missed that. Many thanks. On Wednesday, 11 June 2014 11:23:57 UTC+1, Adrien Grand wrote: > > You can do this by running a `global` aggregation: > http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-global-aggregation.html > > > On Wed, Jun 11, 2

Re: Aggregation equivalent of Facet "global" : true ?

2014-06-11 Thread Adrien Grand
You can do this by running a `global` aggregation: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-global-aggregation.html On Wed, Jun 11, 2014 at 12:02 PM, mooky wrote: > > Is there a way of specifying the scope of an aggregation (if there is I

Aggregation equivalent of Facet "global" : true ?

2014-06-11 Thread mooky
Is there a way of specifying the scope of an aggregation (if there is I cant seem to find it)? I want to achieve the equivalent of a Facet "global" : true. Do I need to use facets instead of aggregations in this case? I am just doing term aggregations - to give the user a dropdown list to fil