I am using Spring-Data-Elasticsearch in my project, and I want to delete document by ElasticsearchRepository interface.
There is not a response from delete
api, so I can't distinguish whether the document existed in ES.
I don't want to seperate into two steps by using exists()
api.