Skip to content

Instantly share code, notes, and snippets.

@MrJohnsson77
Forked from arielamato/elasticsearch.yml
Created November 4, 2013 21:50
Show Gist options
  • Save MrJohnsson77/7309770 to your computer and use it in GitHub Desktop.
Save MrJohnsson77/7309770 to your computer and use it in GitHub Desktop.
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