return targetList;
}
protected boolean delete(final String sessionId, final String url) {
final String id = getId(sessionId, url);
try {
<BUG>final DeleteResponse response = ActionGetUtil.actionGet(getClient().prepareDelete(index, type, id).setConsistencyLevel(writeConsistencyLevel)
.setRefresh(true).execute());
return response.isFound();</BUG>
} catch (Exception e) {
throw new EsAccessException("Failed to delete " + sessionId + ":" + url, e);

return targetList;
}
protected boolean delete(final String sessionId, final String url) {
final String id = getId(sessionId, url);
try {
final DeleteResponse response = getClient()
.get(c -> c.prepareDelete(index, type, id).setConsistencyLevel(writeConsistencyLevel).setRefresh(true).execute());
return response.isFound();
} catch (Exception e) {
throw new EsAccessException("Failed to delete " + sessionId + ":" + url, e);
