Skip to content

Instantly share code, notes, and snippets.

@srockstyle
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srockstyle/e9872b0e9cdb901f85d0 to your computer and use it in GitHub Desktop.
Save srockstyle/e9872b0e9cdb901f85d0 to your computer and use it in GitHub Desktop.
Elasticsearch in OSX クイックスタート ref: http://qiita.com/srockstyle/items/207506a79d20ec260926
$ brew install elasticsearch
export ELASTICPATH=/usr/local/Cellar/elasticsearch/1.3.0/bin
export PATH=$PATH:$ELASTICPATH
source ~/.zshrc
source ~/.bashrc
$ plugin --install ******
$ 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
$ curl -XGET 'http://localhost:9200'
{
"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