elastic-search

getting started queries

List indices

GET /_cat/indices

Confirm index exists

GET /my-test-index

Add document to index

POST my-test-index/_doc/
{
  "message": "my test message"
}

Get all documents from index

GET my-test-index/_search
{
    "query": {
        "match_all": {}
    }
}