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
ConstructorsConstructorDescriptionReindexRequestBuilder(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 ReindexRequestBuilderself()setRemoteInfo(RemoteInfo remoteInfo)Setup reindexing from a remote cluster.Methods inherited from class org.elasticsearch.index.reindex.AbstractBulkIndexByScrollRequestBuilder
scriptMethods 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:
selfin classAbstractBulkByScrollRequestBuilder<ReindexRequest,ReindexRequestBuilder>
-
destination
-
destination
Set the destination index. -
destination
Set the destination index and type. -
setRemoteInfo
Setup reindexing from a remote cluster.
-