# How to set "indices.fielddata.cache.size" without setting in elasticsearch.yml

**URL:** <https://discuss.elastic.co/t/how-to-set-indices-fielddata-cache-size-without-setting-in-elasticsearch-yml/14501>\
**Category:** Elasticsearch\
**Created:** [November 20, 2013, 5:30pm UTC](https://discuss.elastic.co/t/how-to-set-indices-fielddata-cache-size-without-setting-in-elasticsearch-yml/14501 "2013-11-20T17:30:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Greg\_4](https://avatars.discourse-cdn.com/v4/letter/g/e99b99/32.png) [@Greg\_4](https://discuss.elastic.co/u/Greg_4)\
**Post date:** [November 20, 2013, 5:30pm UTC](https://discuss.elastic.co/t/how-to-set-indices-fielddata-cache-size-without-setting-in-elasticsearch-yml/14501/1 "2013-11-20T17:30:36Z")

</div>

Hi,

i tried

curl -XPUT :/\_cluster/settings -d '{  
"persistent" : {  
"indices.fielddata.cache.size": "20%"  
}  
}'

but it does not work: {"persistent":{},"transient":{}}

Thanks.

Greg

--  
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:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 20, 2013, 5:38pm UTC](https://discuss.elastic.co/t/how-to-set-indices-fielddata-cache-size-without-setting-in-elasticsearch-yml/14501/2 "2013-11-20T17:38:35Z")

</div>

This one is not listed on the updatable cluster settings here: [http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-update-settings.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-update-settings.html)

So you can not update it live.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 20 novembre 2013 at 18:30:39, Greg ([linuxzwerg@gmail.com](mailto:linuxzwerg@gmail.com)) a écrit:

Hi,

i tried

curl -XPUT :/\_cluster/settings -d '{  
"persistent" : {  
"indices.fielddata.cache.size": "20%"  
}  
}'

but it does not work: {"persistent":{},"transient":{}}

Thanks.

Greg

--  
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).

--  
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:** ![Greg\_4](https://avatars.discourse-cdn.com/v4/letter/g/e99b99/32.png) [@Greg\_4](https://discuss.elastic.co/u/Greg_4)\
**Post date:** [November 20, 2013, 6:51pm UTC](https://discuss.elastic.co/t/how-to-set-indices-fielddata-cache-size-without-setting-in-elasticsearch-yml/14501/3 "2013-11-20T18:51:58Z")

</div>

Thanks!

Am Mittwoch, 20. November 2013 18:38:35 UTC+1 schrieb David Pilato:

> This one is not listed on the updatable cluster settings here:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-update-settings.html)
> 
> So you can not update it live.
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> 
> Le 20 novembre 2013 at 18:30:39, Greg ([linux...@gmail.com](mailto:linux...@gmail.com) \<javascript:\>)  
> a écrit:
> 
> Hi,
> 
> i tried
> 
> curl -XPUT :/\_cluster/settings -d '{  
> "persistent" : {  
> "indices.fielddata.cache.size": "20%"  
> }  
> }'
> 
> but it does not work: {"persistent":{},"transient":{}}
> 
> Thanks.
> 
> Greg
> 
> --  
> 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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:05am UTC](https://discuss.elastic.co/t/how-to-set-indices-fielddata-cache-size-without-setting-in-elasticsearch-yml/14501/4 "2017-07-06T02:05:51Z")

</div>


