# Query Result Caching in Elasticsearch similar to SOLR

**URL:** <https://discuss.elastic.co/t/query-result-caching-in-elasticsearch-similar-to-solr/18053>\
**Category:** Elasticsearch\
**Created:** [June 11, 2014, 8:00pm UTC](https://discuss.elastic.co/t/query-result-caching-in-elasticsearch-similar-to-solr/18053 "2014-06-11T20:00:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sairam\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sairam_2/32/1475_2.png) [@sairam\_2](https://discuss.elastic.co/u/sairam_2)\
**Post date:** [June 11, 2014, 8:00pm UTC](https://discuss.elastic.co/t/query-result-caching-in-elasticsearch-similar-to-solr/18053/1 "2014-06-11T20:00:47Z")

</div>

Is there a way to mimic the Query Result Caching  
[http://wiki.apache.org/solr/SolrCaching#queryResultCache](http://wiki.apache.org/solr/SolrCaching#queryResultCache) in  
Elasticsearch? Solr stores the list of documentIDs for a given Query and  
returns that after the first request. This is similar to IIS Output Cache.  
The other option is to have a Cache Proxy Server. It will be good to know  
if Elasticsearch supported this by default and had to be enabled.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/8fefe9e3-a767-409a-a133-7d3811d255ca%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8fefe9e3-a767-409a-a133-7d3811d255ca%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [June 11, 2014, 9:46pm UTC](https://discuss.elastic.co/t/query-result-caching-in-elasticsearch-similar-to-solr/18053/2 "2014-06-11T21:46:23Z")

</div>

In Elasticsearch you use filters in queries where the results are cached.  
More info:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Jörg

On Wed, Jun 11, 2014 at 10:00 PM, [sairam@roblox.com](mailto:sairam@roblox.com) wrote:

> Is there a way to mimic the Query Result Caching  
> [http://wiki.apache.org/solr/SolrCaching#queryResultCache](http://wiki.apache.org/solr/SolrCaching#queryResultCache) in  
> Elasticsearch? Solr stores the list of documentIDs for a given Query and  
> returns that after the first request. This is similar to IIS Output Cache.  
> The other option is to have a Cache Proxy Server. It will be good to know  
> if Elasticsearch supported this by default and had to be enabled.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/8fefe9e3-a767-409a-a133-7d3811d255ca%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8fefe9e3-a767-409a-a133-7d3811d255ca%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/8fefe9e3-a767-409a-a133-7d3811d255ca%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/8fefe9e3-a767-409a-a133-7d3811d255ca%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFg9\_oBkG0tRCjgdAtKgnixC5nOLLuy-K\_THc1ORK2-Lw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFg9_oBkG0tRCjgdAtKgnixC5nOLLuy-K_THc1ORK2-Lw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:23am UTC](https://discuss.elastic.co/t/query-result-caching-in-elasticsearch-similar-to-solr/18053/3 "2017-07-06T01:23:09Z")

</div>


