summaryrefslogtreecommitdiff
path: root/vendor/ruflin/elastica/ansible/roles/elasticsearch/templates/config-default.yml
blob: 0917f24439e8b8c30ce56f6a0a1f841b879db8ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{% block default_config %}

index.number_of_shards: 2
index.number_of_replicas: 0

# Dont write data to hdd in tests
index.store.type: memory

# Required plugins
plugin.mandatory: mapper-attachments, geocluster-facet, transport-thrift, transport-memcached, image

# For bulk tests
bulk.udp.enabled: true
bulk.udp.bulk_actions: 5

# For script tests
script.inline: on
script.indexed: on

# Disable dynamic memory allocation
bootstrap.mlockall: true

# Dont accept connections not from localhost
network.host: "127.0.0.1"

# Limit threadpool by set number of available processors to 1
# Without this, travis builds will be failed with OutOfMemory error
processors: 1

# All nodes will be called Elastica
node.name: Elastica

# Added for snapshot tests
path.repo: ["/tmp/test_register", "/tmp/test_repository"]

{% endblock %}

{% block config %}
# Node specific config should be overwritten in child template
{% endblock %}