Skip to content

Commit

Permalink
Merge pull request #26 from awislowski/master
Browse files Browse the repository at this point in the history
Add elasticsearch settings to set filter cache size and routing availability in template configuration
  • Loading branch information
gpstathis committed Mar 25, 2015
2 parents 9774142 + 3cbef0c commit ab7904d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions templates/elasticsearch.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,11 @@ action.disable_delete_all_indices: {{ elasticsearch_misc_disable_delete_all_indi
{% endfor %}
{% endif %}


{% if elasticsearch_indices_cache_filter_size is defined %}
indices.cache.filter.size: {{ elasticsearch_indices_cache_filter_size }}
{% endif %}

################################### Dynamic Scripting #####################################

{% if elasticsearch_script_disable_dynamic is defined %}
Expand All @@ -602,3 +607,11 @@ script.disable_dynamic: {{ elasticsearch_script_disable_dynamic }}
{% if elasticsearch_http_cors_enabled is defined %}
http.cors.enabled: {{ elasticsearch_http_cors_enabled }}
{% endif %}


################################### Awareness Settings #####################################

{% if elasticsearch_cluster_routing_allocation_zone_awareness is defined %}
cluster.routing.allocation.awareness.attributes: zone
node.zone: {{ facter_ec2_placement_availability_zone }}
{% endif %}

0 comments on commit ab7904d

Please sign in to comment.