1.批处理操作
快速查看多个文档
POST /customer/_doc/_bulk?pretty {"index":{"_id":"1"}} {"name": "John Doe" } {"index":{"_id":"2"}}
{"name": "Jane Doe" }
更新,删除操作.
POST /customer/_doc/_bulk?pretty {"update":{"_id":"1"}} {"doc": { "name": "John Doe becomes Jane Doe" } }
{"delete":{"_id":"2"}}