试过delete 请求 索引/_all
等方法都删除失败了。- -# 怎么能根据dsl删除数据?
只删除数据不删除索引,不想每次都重建mapping
curl -XDELETE 'localhost:9200/customer/external/_query?pretty' -d '
{
"query": { "match": { "name": "John" } }
}'
详见Deleting Documents
试过delete 请求 索引/_all
等方法都删除失败了。- -# 怎么能根据dsl删除数据?
只删除数据不删除索引,不想每次都重建mapping
curl -XDELETE 'localhost:9200/customer/external/_query?pretty' -d '
{
"query": { "match": { "name": "John" } }
}'
详见Deleting Documents