}
public boolean removeDocument(String _id, String sParentId) {
if (null != _multiIndex) {
throw new RuntimeException("removeDocument not supported on multi-index manager");
}
DeleteRequestBuilder drb = _elasticClient.prepareDelete(_sIndexName, _sIndexType, _id);
if (null != sParentId) {
drb.setRouting(sParentId);
}
drb.setConsistencyLevel(WriteConsistencyLevel.ONE);
DeleteResponse dr = drb.execute().actionGet();
return DeleteResponseUtils.isFound(dr);
}//TESTED (including children)