Hi.
Im using aggregations to compute data analysis. I use query to filter results and then a lot of aggregations to get data i want.
For example
"query": {
"filtered": {
"filter": {
"bool": {
"must": [
{
"range": {
"ticketing.summary.counts.orders": {
"from": 3
}
}
},
{
"type": {
"value": "profile"
}
}
]
}
}
}
},
aggs: {20-30 terms and nested aggregations here}
I have a question about performance. Is it correct approach to run all aggregations in one request. Or maybe i need to run 1-2 aggregation per request. So from my code snipped i will have to run 15 requests instead of 1.
Elastic search version is 2.4
RAM : 5 GB for heap.
Documents : 500K-700K
Thanks for help.