/** * Index this Document asynchronously * * @return * @throws Exception */ public F.Promise<IndexResponse> indexAsync() { return IndexService.indexAsync(getIndexPath(), id, this); }
/** * Index this Document asynchronously * * @return * @throws Exception */ public F.Promise<IndexResponse> indexAsync(String indexName) { return IndexService.indexAsync(getIndexPath(indexName), id, this); }