미니옵빠의 code stubs

ES 자주쓰는 명령어 본문

Elastic Stack/Elasticsearch

ES 자주쓰는 명령어

미니옵빠 2017. 2. 14. 11:01

List ALL Indices

curl -XGET -u elastic 'http://localhost:9200/_cat/indices?v'



Match All Query

curl -XGET -u elastic 'http://localhost:9200/_search?pretty=true' -H 'Content-Type: application/json' -d '

{

    "query" : {

        "match_all" : {}

    }

}'