# Where to set indices.fielddata.cache.size and indices.fielddata.cache.expire

**URL:** <https://discuss.elastic.co/t/where-to-set-indices-fielddata-cache-size-and-indices-fielddata-cache-expire/19274>\
**Category:** Elasticsearch\
**Created:** [August 14, 2014, 1:09am UTC](https://discuss.elastic.co/t/where-to-set-indices-fielddata-cache-size-and-indices-fielddata-cache-expire/19274 "2014-08-14T01:09:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![11149](https://avatars.discourse-cdn.com/v4/letter/1/da6949/32.png) [@11149](https://discuss.elastic.co/u/11149)\
**Post date:** [August 14, 2014, 1:09am UTC](https://discuss.elastic.co/t/where-to-set-indices-fielddata-cache-size-and-indices-fielddata-cache-expire/19274/1 "2014-08-14T01:09:21Z")

</div>

I have a server with 48GB memory and set ES\_HEAP\_SIZE to 32GB.

1. In this case I want to know, where to set indices.fielddata.cache.size  
and indices.fielddata.cache.expire and what is the proper value for the two  
configurations in my case.

currently I set them in the elasticsearch.yml:

indices.fielddata.cache.size: 16GB  
indices.fielddata.cache.expire: 1m

1. I also noted another two settings: indices.cache.filter.size and  
indices.cache.filter.expire, I want to know what's the difference between  
them and the default value of them.

Thanks.

--  
不学习，不知道

--  
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/CA%2BJstLBKWDx8mhWinhr31%2BX%3DXT5gWGnKep%2BG1h%3D9J8gF0QN8JA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CA%2BJstLBKWDx8mhWinhr31%2BX%3DXT5gWGnKep%2BG1h%3D9J8gF0QN8JA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![11149](https://avatars.discourse-cdn.com/v4/letter/1/da6949/32.png) [@11149](https://discuss.elastic.co/u/11149)\
**Post date:** [August 14, 2014, 1:23am UTC](https://discuss.elastic.co/t/where-to-set-indices-fielddata-cache-size-and-indices-fielddata-cache-expire/19274/2 "2014-08-14T01:23:08Z")

</div>

PS: I am using Elasticsearch 1.2.1

2014-08-14 9:09 GMT+08:00 panfei [cnweike@gmail.com](mailto:cnweike@gmail.com):

> I have a server with 48GB memory and set ES\_HEAP\_SIZE to 32GB.
> 
> 1. In this case I want to know, where to set indices.fielddata.cache.size  
> and indices.fielddata.cache.expire and what is the proper value for the two  
> configurations in my case.
> 
> currently I set them in the elasticsearch.yml:
> 
> indices.fielddata.cache.size: 16GB  
> indices.fielddata.cache.expire: 1m
> 
> 1. I also noted another two settings: indices.cache.filter.size and  
> indices.cache.filter.expire, I want to know what's the difference between  
> them and the default value of them.
> 
> Thanks.
> 
> --  
> 不学习，不知道

--  
不学习，不知道

--  
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/CA%2BJstLCQbJuCjC9DDu8bQPr2YaRZeCg%2BF5ChnfjyXaDNrW6LKg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CA%2BJstLCQbJuCjC9DDu8bQPr2YaRZeCg%2BF5ChnfjyXaDNrW6LKg%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:08am UTC](https://discuss.elastic.co/t/where-to-set-indices-fielddata-cache-size-and-indices-fielddata-cache-expire/19274/3 "2017-07-06T01:08:43Z")

</div>


