return this;
}
public IndexRequestBuilder toIndexRequest(Object object) {
TypeMapping mapping = _context.findTypeMapping(object);
return mapping.indexRequest(_client, _indexName, object);
}
public Session delete(Object o) {
TypeMapping mapping = _context.findTypeMapping(o);
delete(mapping.getTypeClass(), mapping.getId(o), mapping.getVersion(o));