final XContentBuilder source = getXContentBuilder(target);
bulkRequest.add(getClient().prepareIndex(index, type, id).setSource(source).setOpType(opType)
.setConsistencyLevel(writeConsistencyLevel));
setId(target, id);
}
<BUG>try {
return ActionGetUtil.actionGet(bulkRequest.setConsistencyLevel(writeConsistencyLevel).setRefresh(true).execute());
} catch (Exception e) {</BUG>
throw new EsAccessException("Failed to insert " + list, e);
}

final XContentBuilder source = getXContentBuilder(target);
bulkRequest.add(getClient().prepareIndex(index, type, id).setSource(source).setOpType(opType)
.setConsistencyLevel(writeConsistencyLevel));
setId(target, id);
