Пример #1
0
 /**
  * Index this Document asynchronously
  *
  * @return
  * @throws Exception
  */
 public F.Promise<IndexResponse> indexAsync() {
   return IndexService.indexAsync(getIndexPath(), id, this);
 }
Пример #2
0
 /**
  * Index this Document asynchronously
  *
  * @return
  * @throws Exception
  */
 public F.Promise<IndexResponse> indexAsync(String indexName) {
   return IndexService.indexAsync(getIndexPath(indexName), id, this);
 }