elasticsearch-api/lib/elasticsearch/api/actions/indices/resolve_index.rb
# Returns information about any matching indices, aliases, and data streams
#
# @option arguments [List] :name A comma-separated list of names or wildcard expressions
# @option arguments [String] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) (options: open, closed, hidden, none, all)
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html
#
Returns information about any matching indices, aliases, and data streams
Returns information about any matching indices aliases and data streams
def resolve_index(arguments = {})
          raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          _name = arguments.delete(:name)
          method = Elasticsearch::API::HTTP_GET
          path   = "_resolve/index/#{Utils.__listify(_name)}"
          params = Utils.process_params(arguments)
          perform_request(method, path, params, body, headers).body
        end
def resolve_index ( arguments = { } ) raise ArgumentError , "Required argument 'name' missing" unless arguments [ :name ] headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone _name = arguments . delete ( :name ) method = Elasticsearch :: API :: HTTP_GET path = "_resolve/index/#{Utils.__listify(_name)}" params = Utils . process_params ( arguments ) perform_request ( method , path , params , body , headers ) . body end
Returns information about any matching indices, aliases, and data streams
Returns information about any matching indices aliases and data streams
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None