Last active
August 29, 2015 14:00
-
-
Save FUT/11223667 to your computer and use it in GitHub Desktop.
Elasticsearch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cluster.name: engine_development | |
index.number_of_shards: 2 | |
index.number_of_replicas: 1 | |
index.query.bool.max_clause_count: 1000000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Recreate index | |
bundle exec rake environment elasticsearch:import:model CLASS='Car' FORCE=y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Amazon Linux AMI release 2013.09 | |
cd /tmp | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.1.noarch.rpm | |
sudo rpm -ivh elasticsearch-1.1.1.noarch.rpm | |
sudo /sbin/chkconfig --add elasticsearch | |
sudo service elasticsearch start | |
curl -X GET http://localhost:9200/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment