elasticsearch 启动命令:
/data/apps/elasticsearch-1.6.0/bin/elasticsearch -Des.node.name=ES-1 -Des.http.port=8379 -d
curl -XPOST http://user:passwd@127.0.0.1:8379/blog/users/_all
elasticsearch 启动命令:
/data/apps/elasticsearch-1.6.0/bin/elasticsearch -Des.node.name=ES-1 -Des.http.port=8379 -d
curl -XPOST http://user:passwd@127.0.0.1:8379/blog/users/_all