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

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

          body = nil

          arguments = arguments.clone

          _index = arguments.delete(:index)

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

          perform_request(method, path, params, body, headers).body
        end
# Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.
#
# @option arguments [String] :index The name of the follower index that should be turned into a regular index.
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html
#
Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.
Stops the following task associated with a follower index and removes index metadata and settings associated with cross - cluster replication .
def unfollow(arguments = {})
          raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          _index = arguments.delete(:index)
          method = Elasticsearch::API::HTTP_POST
          path   = "#{Utils.__listify(_index)}/_ccr/unfollow"
          params = {}
          perform_request(method, path, params, body, headers).body
        end
def unfollow ( arguments = { } ) raise ArgumentError , "Required argument 'index' missing" unless arguments [ :index ] headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone _index = arguments . delete ( :index ) method = Elasticsearch :: API :: HTTP_POST path = "#{Utils.__listify(_index)}/_ccr/unfollow" params = { } perform_request ( method , path , params , body , headers ) . body end
Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.
Stops the following task associated with a follower index and removes index metadata and settings associated with cross - cluster replication .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None