I know this might be a very general question, but we were using ElasticSearch 2.4.2 and recently upgraded it to 6.3.0. After the upgrade, we noticed that the aggregation query is quite slower (around 2x) in 6.3.0. We didn't change any specific configuration and tried removing any 'size' parameters in the query, but still, it's slower. The structure of the query is the following:
Is it possible that aggregations have become slower in the latest version?