return this;
}
private DeleteRequestBuilder toDeleteRequest(Class<?> type, Object id, Long version) {
TypeMapping mapping = _context.findTypeMapping(type);
return mapping.deleteRequest(_client, _indexName, mapping.toIdString(id), version);
}
private void add(ActionRequestBuilder<?, ?, ?> request) {
_requests.add(request);
if (_requests.size() == _batchSize) {