api:
(elasticsearch版本7.3)#删除指定id的文档 DELETE /<index>/_doc/<_id> #按查询条件删除 POST /<index>/_delete_by_query
1. DELETE /<index>/_doc/<_id>
删除指定id的文档#测试--删除文档 DELETE /king_test_person/_doc/223/
2.POST /<index>/_delete_by_query
删除指定查询条件的文档#测试--删除delete_by_query POST /king_test_person/_delete_by_query { "query": { "term":{ "name": "张三" } } }标签:删除,doc,文档,elasticsearch,query,POST,delete From: https://www.cnblogs.com/wq-blogs/p/17908750.html