es删除index所有数据curl命令

 

curl -X POST "10.96.6.122:9200/asgard_product_schedule/_delete_by_query" -H 'Content-Type: application/json' -d'
{
"query": {
"match_all": {
}
}
}
'

 

posted @ 2022-01-06 15:27  kuroniko  阅读(1350)  评论(0编辑  收藏  举报