Pause a cross-cluster replication follower index. The follower index will not fetch any additional operations from the leader index. You can resume following with the resume follower API. You can pause and resume a follower index to change the configuration of the following task.
manage_ccrPOST /follower_index/_ccr/pause_follow
resp = client.ccr.pause_follow(
index="follower_index",
)
const response = await client.ccr.pauseFollow({
index: "follower_index",
});
response = client.ccr.pause_follow(
index: "follower_index"
)
$resp = $client->ccr()->pauseFollow([
"index" => "follower_index",
]);
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/follower_index/_ccr/pause_follow"
client.ccr().pauseFollow(p -> p
.index("follower_index")
);
{
"acknowledged" : true
}