# Indices.cache.filter.size

**URL:** <https://discuss.elastic.co/t/indices-cache-filter-size/230522>\
**Category:** Elasticsearch\
**Created:** [April 30, 2020, 11:12am UTC](https://discuss.elastic.co/t/indices-cache-filter-size/230522 "2020-04-30T11:12:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajeev\_Bhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajeev_bhat/32/66529_2.png) [@Rajeev\_Bhat](https://discuss.elastic.co/u/Rajeev_Bhat)\
**Post date:** [April 30, 2020, 11:12am UTC](https://discuss.elastic.co/t/indices-cache-filter-size/230522/1 "2020-04-30T11:12:50Z")

</div>

I tried this :

```auto
curl -X PUT "localhost:9200/_cluster/settings?flat_settings=true&pretty" -H 'Content-Type: application/json' -d'{ "transient" : {"indices.queries.cache.size" : "20%"}}'

```

Getting this

```auto
{
  "error" : {
    "root_cause" : [
      {
        "type" : "illegal_argument_exception",
        "reason" : "transient setting [indices.queries.cache.size], not dynamically updateable"
      }
    ],
    "type" : "illegal_argument_exception",
    "reason" : "transient setting [indices.queries.cache.size], not dynamically updateable"
  },
  "status" 
}

```

For a POC I needed to set the node query cache to 20% is this possible? or any alternatives are there? Basically I only want 20% of documents in cache not more than that.  
Thanks.

---

<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:** [May 28, 2020, 11:13am UTC](https://discuss.elastic.co/t/indices-cache-filter-size/230522/2 "2020-05-28T11:13:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
