Hello everyone,
I percolated thousands of queries, all with a geobounds filter. For some of them, the value of the filter are the same, only other parts of query are different.
In order to compute stats, I would like to aggregate these queries by geobounds filter value.
The response I wish, looks like this:
{
[bucket 1 containing all queries which have geobounds filter with value X],
[bucket 2 containing all queries which have geobounds filter with value Y],
[bucket 3 containing all queries which have geobounds filter with value Z],
... and so on
}
I looked at the geobounds aggregation, but I think it's not what I want since it is a single value aggregation.
I tried the terms aggregation, but it only works on string and numeric fields.
Elasticsearch version I use is 1.5.
Any ideas?
Thank you.
Julien.