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.
NOTE: 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 Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<UnfollowRequest,UnfollowResponse, ErrorResponse> Endpoint "ccr.unfollow". -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringindex()Required - The name of the follower index that should be turned into a regular index.static UnfollowRequestMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "ccr.unfollow".
-
-
Method Details
-
of
public static UnfollowRequest of(Function<UnfollowRequest.Builder, ObjectBuilder<UnfollowRequest>> fn) -
index
Required - The name of the follower index that should be turned into a regular index.API name:
index
-