Skip to content

Instantly share code, notes, and snippets.

@juneym
Forked from arielamato/elasticsearch.yml
Created July 6, 2011 16:32
Show Gist options
  • Save juneym/1067678 to your computer and use it in GitHub Desktop.
Save juneym/1067678 to your computer and use it in GitHub Desktop.
Cluster configuration file
cloud:
aws:
access_key: AWS_ACCESS_KEY
secret_key: AWS_SECRET_KEY
region: eu-west-1
discovery:
type: ec2
ec2:
groups: datastore-elasticsearch
host_type: private_ip
tag.Name: datastore-elasticsearch-production
any_group: false
node:
data:true
path:
work: /var/lib/elasticsearch/work
logs: /var/log/elasticsearch
cluster:
name: elasticsearch
index:
number_of_shards: 10
number_of_replicas: 1
script.native:
smartdate.type: com.mycompany.elasticsearch.score.CustomScoreScript
smartdate.lang: native
bootstrap:
mlockall : true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment