Last active
August 29, 2015 14:06
-
-
Save srockstyle/e9872b0e9cdb901f85d0 to your computer and use it in GitHub Desktop.
Elasticsearch in OSX クイックスタート ref: http://qiita.com/srockstyle/items/207506a79d20ec260926
This file contains 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
$ brew install elasticsearch |
This file contains 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
export ELASTICPATH=/usr/local/Cellar/elasticsearch/1.3.0/bin | |
export PATH=$PATH:$ELASTICPATH |
This file contains 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
source ~/.zshrc | |
source ~/.bashrc |
This file contains 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
$ plugin --install ****** |
This file contains 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
$ elasticsearch | |
[2014-09-25 12:23:01,360][INFO ][node ] [Veil] version[1.3.0], pid[57072], build[1265b14/2014-07-23T13:46:36Z] | |
[2014-09-25 12:23:01,361][INFO ][node ] [Veil] initializing ... | |
[2014-09-25 12:23:01,375][INFO ][plugins ] [Veil] loaded [analysis-kuromoji], sites [] | |
[2014-09-25 12:23:03,919][INFO ][node ] [Veil] initialized | |
[2014-09-25 12:23:03,920][INFO ][node ] [Veil] starting ... | |
[2014-09-25 12:23:04,013][INFO ][transport ] [Veil] bound_address {inet[/127.0.0.1:9300]}, publish_address {inet[/127.0.0.1:9300]} | |
[2014-09-25 12:23:04,047][INFO ][discovery ] [Veil] elasticsearch_srockstyle/4QyazfZ_RoGQ_vHw1N4fDQ | |
[2014-09-25 12:23:07,063][INFO ][cluster.service ] [Veil] new_master [Veil][4QyazfZ_RoGQ_vHw1N4fDQ][srockstyle-no-MacBook-Pro.local][inet[/127.0.0.1:9300]], reason: zen-disco-join (elected_as_master) | |
[2014-09-25 12:23:07,088][INFO ][http ] [Veil] bound_address {inet[/127.0.0.1:9200]}, publish_address {inet[/127.0.0.1:9200]} | |
[2014-09-25 12:23:07,088][INFO ][node ] [Veil] started | |
[2014-09-25 12:23:07,110][INFO ][gateway ] [Veil] recovered [0] indices into cluster_state |
This file contains 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
$ curl -XGET 'http://localhost:9200' |
This file contains 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
{ | |
"status" : 200, | |
"name" : "Arkady Rossovich", | |
"version" : { | |
"number" : "1.3.0", | |
"build_hash" : "1265b1454eee7725a6918f57415c480028700fb4", | |
"build_timestamp" : "2014-07-23T13:46:36Z", | |
"build_snapshot" : false, | |
"lucene_version" : "4.9" | |
}, | |
"tagline" : "You Know, for Search" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment