I am using the Delete by Query API to delete documents from an index. In the response, I can only see the number of documents that have been deleted. How can I get the ids of the documents that were deleted?
Using Elasticsearch 6.2.2.
I am using the Delete by Query API to delete documents from an index. In the response, I can only see the number of documents that have been deleted. How can I get the ids of the documents that were deleted?
Using Elasticsearch 6.2.2.
I don't think you can.
But you can manually reproduce what elasticsearch is doing behind the scene on the client side.
Do a scroll search and bulk the delete operations.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.