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
Constructors Constructor Description ReindexRequestBuilder(ElasticsearchClient client, ActionType<BulkByScrollResponse> action) -
Method Summary
Modifier and Type Method Description IndexRequestBuilderdestination()ReindexRequestBuilderdestination(java.lang.String index)Set the destination index.ReindexRequestBuilderdestination(java.lang.String index, java.lang.String type)Set the destination index and type.protected ReindexRequestBuilderself()ReindexRequestBuildersetRemoteInfo(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, waitForActiveShardsMethods inherited from class org.elasticsearch.action.ActionRequestBuilder
execute, execute, get, get, get, requestMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.
-