first very thank you reply my quesition
if i data not has important data,i will chose delete index ,but now is i in input multiple type but of one type fail i want delete this error type after re-input
**i want to try _delete_by_query this is my code **
curl -XPOST http://localhost:9200/myindex/wantDeleteType/_delete_by_query { "query": { "range": { "id":{"gte":1} } } }