删除API,可以根据特定的ID删除文档。
$ curl -XDELETE 'http://localhost:9200/website/blog/AVbkih8AltSLRRB7XAun'
会返回下面的消息:
{