curl tool command:
Query delete: curl -u用户名:密码 -XPOST '192.168.0.201:9200/quality_control/my_type/_delete_by_query?refresh&slices=5&pretty' -H 'Content-Type: application/json' -d'{ "query": { "match_all": {} } }'
kibana:
# clear the index POST quality_control/my_type/_delete_by_query?refresh&slices=5&pretty { "query": { "match_all": {} } }
This operation will be divided into 5 slices to perform deletion
Returns information about each slice removed after execution.