Sha256: 16d70061fa8049124310163eeda138e81af674fe5a22ac465eadef52655f0531
Contents?: true
Size: 1.23 KB
Versions: 8
Compression:
Stored size: 1.23 KB
Contents
module Elasticsearch module API module Indices module Actions # Get a list of all aliases, or aliases for a specific index. # # @example Get a list of all aliases # # client.indices.get_aliases # # @option arguments [List] :index A comma-separated list of index names to filter aliases # @option arguments [List] :name A comma-separated list of alias names to filter # @option arguments [Time] :timeout Explicit timestamp for the document # @option arguments [Boolean] :local Return local information, # do not retrieve the state from master node (default: false) # # @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-aliases.html # def get_aliases(arguments={}) valid_params = [ :timeout, :local ] method = 'GET' path = Utils.__pathify Utils.__listify(arguments[:index]), '_aliases', Utils.__listify(arguments[:name]) params = Utils.__validate_and_extract_params arguments, valid_params body = nil perform_request(method, path, params, body).body end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems