public class ReindexRequestBuilder extends AbstractBulkIndexByScrollRequestBuilder<ReindexRequest,ReindexRequestBuilder>
action, client, request
Constructor and Description |
---|
ReindexRequestBuilder(ElasticsearchClient client,
Action<ReindexRequest,BulkByScrollResponse,ReindexRequestBuilder> action) |
Modifier and Type | Method and Description |
---|---|
IndexRequestBuilder |
destination() |
ReindexRequestBuilder |
destination(java.lang.String index)
Set the destination index.
|
ReindexRequestBuilder |
destination(java.lang.String index,
java.lang.String type)
Set the destination index and type.
|
protected ReindexRequestBuilder |
self() |
ReindexRequestBuilder |
setRemoteInfo(RemoteInfo remoteInfo)
Setup reindexing from a remote cluster.
|
script
abortOnVersionConflict, filter, refresh, setMaxRetries, setRequestsPerSecond, setRetryBackoffInitialTime, setShouldStoreResult, setSlices, size, source, source, timeout, waitForActiveShards
beforeExecute, execute, execute, get, get, get, request
public ReindexRequestBuilder(ElasticsearchClient client, Action<ReindexRequest,BulkByScrollResponse,ReindexRequestBuilder> action)
protected ReindexRequestBuilder self()
self
in class AbstractBulkByScrollRequestBuilder<ReindexRequest,ReindexRequestBuilder>
public IndexRequestBuilder destination()
public ReindexRequestBuilder destination(java.lang.String index)
public ReindexRequestBuilder destination(java.lang.String index, java.lang.String type)
public ReindexRequestBuilder setRemoteInfo(RemoteInfo remoteInfo)