I am trying to find out if there is any good way to delete a type after version 2.0, since delete by type was deprecated after 2.0
I am using Hive Integration to insert documents into elasticsearch. if hive's map reduce job die halfway due to some reasons; and re-insert without clean up all documents would end up with a lot of duplicate documents. If I have millions of documents, it would take really a long time to delete by query using "match_all". So I am just asking if there is a good way to efficiently delete a type. Thanks!