Index and Type Api
curl -XPOST localhost:9200/orders/orders/1 \ -H 'content-type: application/json' \ -d '{"id": "1", "placedOn": "2016-10-17T13:03:30.830Z"}'curl 'localhost:9200/orders/orders/_search?pretty=true'{ "_index" : "orders", "_type" : "orders", "_id" : "1", "_score" : 1.0, "_source" : { "id" : "1", "placedOn" : "2016-10-17T13:03:30.830Z" } }
Last updated