# Persistable elasticsearch cache

**URL:** <https://discuss.elastic.co/t/persistable-elasticsearch-cache/13455>\
**Category:** Elasticsearch\
**Created:** [September 4, 2013, 8:10am UTC](https://discuss.elastic.co/t/persistable-elasticsearch-cache/13455 "2013-09-04T08:10:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chetana](https://avatars.discourse-cdn.com/v4/letter/c/dbc845/32.png) [@Chetana](https://discuss.elastic.co/u/Chetana)\
**Post date:** [September 4, 2013, 8:10am UTC](https://discuss.elastic.co/t/persistable-elasticsearch-cache/13455/1 "2013-09-04T08:10:34Z")

</div>

The default implementation of google guava cache is in-memory. Does  
elasticsearch override this default behavoir?  
If not, please some one tell me how to make cache persistable probably to  
index reposioty itself when the cached values are complex objects

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [September 4, 2013, 8:52am UTC](https://discuss.elastic.co/t/persistable-elasticsearch-cache/13455/2 "2013-09-04T08:52:25Z")

</div>

Hi,

There are several caches in Elasticsearch, the main ones being the filter  
cache and the field data cache. Storing the filter cache on disk makes  
little sense because in most cases it would make the cached filters almost  
as slow to load as the original filters. Regarding field data, it is not  
possible to have disk-based field data implementations in current releases  
but there is ongoing work towards that direction so this feature will  
hopefully be available in a future elasticsearch release.

--  
Adrien Grand

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:18am UTC](https://discuss.elastic.co/t/persistable-elasticsearch-cache/13455/3 "2017-07-06T02:18:18Z")

</div>

Closed on July 6, 2017, 2:18am UTC


