I am wondering whether the delete API support to return the content of the
deleted documents because I need to know the content of the deleted
documents.
Of course, I can get the document first and then delete it with two REST
API. But are there any api to achieve it?
And note that if you GET it and save the version number, and then pass the
version number into the DELETE, you can be sure it will be deleted only if
nobody else updated it in the meantime.
This all works so much better in Java than in scripts + curl.
Brian
On Tuesday, February 25, 2014 9:35:37 AM UTC-5, Binh Ly wrote:
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.