# Any way to enable query caching per request with the esRDD?

**URL:** <https://discuss.elastic.co/t/any-way-to-enable-query-caching-per-request-with-the-esrdd/38710>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [January 8, 2016, 9:38am UTC](https://discuss.elastic.co/t/any-way-to-enable-query-caching-per-request-with-the-esrdd/38710 "2016-01-08T09:38:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashish\_Belokar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashish_belokar/32/7064_2.png) [@Ashish\_Belokar](https://discuss.elastic.co/u/Ashish_Belokar)\
**Post date:** [January 8, 2016, 9:38am UTC](https://discuss.elastic.co/t/any-way-to-enable-query-caching-per-request-with-the-esrdd/38710/1 "2016-01-08T09:38:28Z")

</div>

Is there any way to enable query caching per request in the esRDD ?

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [January 9, 2016, 1:51pm UTC](https://discuss.elastic.co/t/any-way-to-enable-query-caching-per-request-with-the-esrdd/38710/2 "2016-01-09T13:51:26Z")

</div>

No there isn't.  
Note that in 2.x, the functionality has been changed a bit.  
One can configure [the request](https://www.elastic.co/guide/en/elasticsearch/reference/2.x/shard-request-cache.html) cache per index while filter caching is now automatic.

Going forward, this functionality will be more and more automated as the engine has (or should have) better visibility about what's going on at runtime.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:26pm UTC](https://discuss.elastic.co/t/any-way-to-enable-query-caching-per-request-with-the-esrdd/38710/3 "2017-07-06T13:26:37Z")

</div>


