# Turning off all elasticsearch caching

**URL:** https://discuss.elastic.co/t/turning-off-all-elasticsearch-caching/10982
**Category:** Elasticsearch
**Created:** [March 3, 2013, 2:50pm UTC](https://discuss.elastic.co/t/turning-off-all-elasticsearch-caching/10982 "2013-03-03T14:50:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ophir\_Michaeli](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Ophir\_Michaeli](https://discuss.elastic.co/u/Ophir_Michaeli)
#### Post date: [March 3, 2013, 2:50pm UTC](https://discuss.elastic.co/t/turning-off-all-elasticsearch-caching/10982/1 "2013-03-03T14:50:28Z")

</div>

Hi,

For tests I need to turn off al elasticsearch caching, is this (yml file)  
enough:

indices.cache.filter.size: 0%

index.cache.filter.max\_size: -1

index.cache.filter.expire: 0m

index.cache.field.max\_size: -1

index.cache.field.expire: -1

Thanks,

Ophir

--  
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:48am UTC](https://discuss.elastic.co/t/turning-off-all-elasticsearch-caching/10982/2 "2017-07-06T02:48:41Z")

</div>


