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