Skip to content

Commit

Permalink
add client for reindex
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavis95 committed Oct 31, 2019
1 parent a6ad62d commit 99426e1
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,12 @@ public GetIndexConfigResult getIndexConfig(GetIndexConfig getIndexConfig) throws
public ListenableFuture<GetIndexConfigResult> getIndexConfigAsync(GetIndexConfig getIndexConfig) throws Exception {
return executeAsync(getIndexConfig);
}

public ReindexResult reindex(Reindex reindex) throws Exception {
return execute(reindex);
}

public ListenableFuture<ReindexResult> reindexAsync(Reindex reindex) throws Exception {
return executeAsync(reindex);
}
}

0 comments on commit 99426e1

Please sign in to comment.