Delete all the documents in the specified index using java

RestHighLevelClient to delete all the documents in the specified index..How is it possible ?and give me the exact solution .

This is a forum manned by volunteers so there are no SLAs or guarantees of a response. Just demanding a solution like that might put some people off and make it less likely that you get a response. Also do not open multiple threads about the same thing.

I would recommend you read the documentation around the high-level REST client delete by query API although it would be more efficient to just delete and recreate the index.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.