I want to delete 1 million documents at a time from a given list of
documents I get. The delete is by query (on one of the documents fields).
I want to understand what is the best practice to do that.
Loop through the million and delete one by one async, or will it cause an
overload on elsdaticsearch, and I should delete X at a time async and wait
till it's
done and then delete additional X. Or is there a batch delete that does
this work more efficiently?
I want to delete 1 million documents at a time from a given list of documents I get. The delete is by query (on one of the documents fields).
I want to understand what is the best practice to do that.
Loop through the million and delete one by one async, or will it cause an overload on elsdaticsearch, and I should delete X at a time async and wait till it's
done and then delete additional X. Or is there a batch delete that does this work more efficiently?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.