Class UnfollowRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ccr.UnfollowRequest
Unfollow an index.
 
Convert a cross-cluster replication follower index to a regular index. The API stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. The follower index must be paused and closed before you call the unfollow API.
info Currently cross-cluster replication does not support converting an existing regular index to a follower index. Converting a follower index to a regular index is an irreversible operation.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Endpoint<UnfollowRequest,UnfollowResponse, ErrorResponse> Endpoint "ccr.unfollow".
- 
Method SummaryModifier and TypeMethodDescriptionfinal Stringindex()Required - The name of the follower index.final TimeThe period to wait for a connection to the master node.static UnfollowRequestMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_ENDPOINTEndpoint "ccr.unfollow".
 
- 
- 
Method Details- 
ofpublic static UnfollowRequest of(Function<UnfollowRequest.Builder, ObjectBuilder<UnfollowRequest>> fn) 
- 
indexRequired - The name of the follower index.API name: index
- 
masterTimeoutThe period to wait for a connection to the master node. If the master node is not available before the timeout expires, the request fails and returns an error. It can also be set to-1to indicate that the request should never timeout.API name: master_timeout
 
-