Retrieve document by ID
Update an existing document
Delete a document by ID
Insert document into index
curl -X POST 'http://localhost:9200/my_index/_doc/1?pretty' -H 'Content-Type: application/json' -d '{"name":"John"}'
Insert user doc
curl -X POST 'http://localhost:9200/users/_doc/1?pretty' -H 'Content-Type: application/json' -d '{"username":"alice"}'
Add a single document to a collection
Create a new index
Delete an index