User:Haeney

Verify Open Port
netstat -tnlp

nmap localhost

Start&Stop
bin/elasticsearch

bin/elasticsearch -d

ps -ef | grep elasticsearch

kill [pid]

create/show/delete
curl -XPUT 'localhost:9200/kimhk?pretty&pretty'

curl -XGET 'localhost:9200/_cat/indices?v&pretty'

curl -XDELETE 'localhost:9200/kimhk?pretty&pretty'

default
curl -XGET 'localhost:9200/name/_search?q=*&pretty'

query
curl -XPOST 'localhost:9200/name/_search?pretty' -d' { "query": { "match_all": {} }, "_source": ["fild_name"] }'