title: Elasticsearch indices.breaker.fielddata.limit settings
body: <p>I can set the breaker.fielddata limit with CURL, but the setup from config is not respected:</p>
  
  <p>ES version: 1.6.0</p>
  
  <p>In my node config</p>
  
  <blockquote>
    <p>/etc/elasticsearch/elasticsearch.yml</p>
  </blockquote>
  
  <pre><code>indices.breaker.fielddata.limit: 60%
  #indices.breaker.fielddata.limit: 60% # this should work, but is not
  #indices.fielddata.breaker.limit: 60% # this is deprecated
  indices.breaker.total.limit: 70%
  
  indices.breaker.request.limit: 50%
  indices.fielddata.cache.size:  60%
  </code></pre>
  
  <p>The fielddata limit is set to 60% (4.7g of 8g heap) in the config, but:</p>
  
  <blockquote>
    <p>curl -XGET '<a href="http://localhost:9200/_nodes/stats?pretty" rel="nofollow">http://localhost:9200/_nodes/stats?pretty</a>' |less</p>
  
  <pre><code>"breakers" : {
      "request" : {
        "limit_size_in_bytes" : 4277534720,
        "limit_size" : "3.9gb",
        "estimated_size_in_bytes" : 0,
        "estimated_size" : "0b",
        "overhead" : 1.0,
        "tripped" : 0
      },
      "fielddata" : {
        "limit_size_in_bytes" : 3422027776,
        "limit_size" : "3.1gb",
        "estimated_size_in_bytes" : 0,
        "estimated_size" : "0b",
        "overhead" : 1.0,
        "tripped" : 0
      },
      "parent" : {
        "limit_size_in_bytes" : 5988548608,
        "limit_size" : "5.5gb",
        "estimated_size_in_bytes" : 55438576,
        "estimated_size" : "52.8mb",
        "overhead" : 1.0,
        "tripped" : 0
      }
    }
  </code></pre>
  </blockquote>
  
  <p>As You see, the size of 
  <em>indices.breaker.request.limi</em>t did change form 40% to 50%
  while
  <em>indices.breaker.fielddata.limi</em>t is still 40% (3,1g)</p>
  
  <p>With a curl:</p>
  
  <blockquote>
    <p>curl -XPUT '<a href="http://localhost:9200/_cluster/settings" rel="nofollow">http://localhost:9200/_cluster/settings</a>' -d '{
    "persistent" : { "indices.breaker.fielddata.limit" : "60%" } }'</p>
  </blockquote>
  
  <p>I can change the
  <em>indices.breaker.fielddata.limit</em> to 60%</p>
  
  <p><strong>Why the line form the config is not respected?</strong></p>
  
  <pre><code>indices.breaker.fielddata.limit: 60%
  </code></pre>