Batch processing Indexing documents POST /_bulk { "index": { "_index": "products", "_id": 200 } } { "name": "Espresso Machine", "price": 199, "in_stock": 5 } { "create": { "_index": "products", "_id": 201 } } { "name": "Milk Frother", "price": 149, "in_stock": 14 } Updating and deleting documents POST /_bulk { "update": { "_index": "products", "_id": 201 } } { "doc": { "price": 129 } } { "delete": { "_index": "products", "_id": 200 } } Specifying the index name in the request path POST /products/_bulk { "update": { "_id": 201 } } { "doc": { "price": 129 } } { "delete": { "_id": 200 } } Retrieving all documents GET /products/_search { "query": { "match_all": {} } }