From f6a724c5756aead46bb888ba6279c97154dbbd99 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 13 Nov 2015 12:06:43 -0800 Subject: [PATCH] Add indices.breaker.fielddata.limit to config The indices.breaker.fielddata.limit config option specifies how much of the heap can be used before breaking out and failing to prevent OOMing. By default this is set to 60% of heap which may be too conservative if you have larger datasets. Change-Id: I46c0cb5157aae40a0029ff1b425ecc663d171768 --- templates/elasticsearch.yml.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/elasticsearch.yml.erb b/templates/elasticsearch.yml.erb index e79c29a..9349b91 100644 --- a/templates/elasticsearch.yml.erb +++ b/templates/elasticsearch.yml.erb @@ -162,6 +162,9 @@ index.store.compress.tv: <%= @es_template_config['index.store.compress.tv'] %> <% if @es_template_config.has_key?('indices.memory.index_buffer_size') then -%> indices.memory.index_buffer_size: "<%= @es_template_config['indices.memory.index_buffer_size'] %>" <% end -%> +<% if @es_template_config.has_key?('indices.breaker.fielddata.limit') then -%> +indices.breaker.fielddata.limit: "<%= @es_template_config['indices.breaker.fielddata.limit'] %>" +<% end -%> #################################### Paths ####################################