Package org.elasticsearch.index.reindex
Class ReindexRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<Request,BulkByScrollResponse>
org.elasticsearch.index.reindex.AbstractBulkByScrollRequestBuilder<Request,Self>
org.elasticsearch.index.reindex.AbstractBulkIndexByScrollRequestBuilder<ReindexRequest,ReindexRequestBuilder>
org.elasticsearch.index.reindex.ReindexRequestBuilder
public class ReindexRequestBuilder
extends AbstractBulkIndexByScrollRequestBuilder<ReindexRequest,ReindexRequestBuilder>
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
ConstructorDescriptionReindexRequestBuilder
(ElasticsearchClient client, ActionType<BulkByScrollResponse> action) -
Method Summary
Modifier and TypeMethodDescriptiondestination
(String index) Set the destination index.destination
(String index, String type) Set the destination index and type.protected ReindexRequestBuilder
self()
setRemoteInfo
(RemoteInfo remoteInfo) Setup reindexing from a remote cluster.Methods inherited from class org.elasticsearch.index.reindex.AbstractBulkIndexByScrollRequestBuilder
script
Methods inherited from class org.elasticsearch.index.reindex.AbstractBulkByScrollRequestBuilder
abortOnVersionConflict, filter, maxDocs, refresh, setMaxRetries, setRequestsPerSecond, setRetryBackoffInitialTime, setShouldStoreResult, setSlices, size, source, source, timeout, waitForActiveShards
-
Constructor Details
-
ReindexRequestBuilder
-
-
Method Details
-
self
- Specified by:
self
in classAbstractBulkByScrollRequestBuilder<ReindexRequest,
ReindexRequestBuilder>
-
destination
-
destination
Set the destination index. -
destination
Set the destination index and type. -
setRemoteInfo
Setup reindexing from a remote cluster.
-