elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/forget_follower.rb
def forget_follower(arguments = {})
          raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
          raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]

          headers = arguments.delete(:headers) || {}

          body = arguments.delete(:body)

          arguments = arguments.clone

          _index = arguments.delete(:index)

          method = Elasticsearch::API::HTTP_POST
          path   = "#{Utils.__listify(_index)}/_ccr/forget_follower"
          params = {}

          perform_request(method, path, params, body, headers).body
        end
# Removes the follower retention leases from the leader.
#
# @option arguments [String] :index the name of the leader index for which specified follower retention leases should be removed
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body the name and UUID of the follower index, the name of the cluster containing the follower index, and the alias from the perspective of that cluster for the remote cluster containing the leader index (*Required*)
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-forget-follower.html
#
Removes the follower retention leases from the leader.
Removes the follower retention leases from the leader .
def forget_follower(arguments = {})
          raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
          raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
          headers = arguments.delete(:headers) || {}
          body = arguments.delete(:body)
          arguments = arguments.clone
          _index = arguments.delete(:index)
          method = Elasticsearch::API::HTTP_POST
          path   = "#{Utils.__listify(_index)}/_ccr/forget_follower"
          params = {}
          perform_request(method, path, params, body, headers).body
        end
def forget_follower ( arguments = { } ) raise ArgumentError , "Required argument 'body' missing" unless arguments [ :body ] raise ArgumentError , "Required argument 'index' missing" unless arguments [ :index ] headers = arguments . delete ( :headers ) || { } body = arguments . delete ( :body ) arguments = arguments . clone _index = arguments . delete ( :index ) method = Elasticsearch :: API :: HTTP_POST path = "#{Utils.__listify(_index)}/_ccr/forget_follower" params = { } perform_request ( method , path , params , body , headers ) . body end
Removes the follower retention leases from the leader.
Removes the follower retention leases from the leader .
arguments
:body the name and UUID of the follower index, the name of the cluster containing the follower index, and the alias from the perspective of that cluster for the remote cluster containing the leader index (*Required*)
: body the name and UUID of the follower index the name of the cluster containing the follower index and the alias from the perspective of that cluster for the remote cluster containing the leader index ( * Required * )
see
None