Aggregation Cache

I want to take advantage of the query cache to speed up my very slow aggregations. According to the documentation, queries should cache the aggregations as long as query_cache or request_cache is set, depending on ES version. I am running on ES 1.7 but I have yet to see this cache work on any queries, evident from the long query time. What am I doing wrong? Thanks.

https://www.elastic.co/guide/en/elasticsearch/reference/1.7/index-modules-shard-query-cache.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/shard-request-cache.html

One of the thing you can do to improve is to switch for a 1.7 implementation to a 5.6 implementation.

So many things have changed in the meantime. You should give it a try.

1.7 is not supported anymore.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.