Top "Elasticsearch-aggregation" questions

elasticsearch terms and sum aggregation

I have documents in elasticsearch (1.5) that looks like: { "gender": [ { "name": "unknown", "value": 12 }, { "name": "male", "value": 89 }, { "name": "female", "value": 84 } ] } not all …

elasticsearch elasticsearch-aggregation
Elasticsearch array value count aggregation

Sample documents: { "id": "62655", "attributes": [ { "name": "genre", "value": "comedy" }, { "name": "year", "value": "2016" } ] } { "id": "62656", "attributes": [ { "name": "genre", "value": "horror" }, { "name": "year", "value": "2016" } ] } { "…

elasticsearch elasticsearch-2.0 elasticsearch-aggregation
ElasticSearch - How to display an additional field name in aggregation query

How can I add a new key called 'agency_name' in my output bucket. I am running an aggregation code …

elasticsearch elasticsearch-aggregation
Elasticsearch: Aggregate results of query

I have an elasticsearch index containing products, which I can query for different search terms. Every product contains a field …

elasticsearch aggregation elasticsearch-aggregation
Control number of buckets created in an aggregation

In Elasticsearch there's a limit on how many buckets you can create in an aggregation. If it creates more buckets …

elasticsearch elasticsearch-aggregation