ES - 常用命令
1、删除索引
curl -X DELELTE "http://IP:9200/索引"
2、删除数据 而不删除索引
curl -X POST "http://IP:9200/索引/_delete_by_query?pretty" -H 'Content-Type:application/json' -d '{ "query": {"match_all":{} }}'
posted on 2022-04-24 15:54 TrustNature 阅读(64) 评论(0) 收藏 举报
浙公网安备 33010602011771号