Sha256: 6c7d85d985c080bd5f468fb842f604792402ac4acbfbe80e13d98ced71ffc9b5
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
module Elasticsearch module API module Indices module Actions # Return the settings for all indices, or a list of indices. # # @example Get settings for all indices # # client.indices.get_settings # # @example Get settings for an index named _myindex_ # # client.indices.get_settings index: 'myindex' # # @option arguments [List] :index A comma-separated list of index names; use `_all` or empty string # to perform the operation on all indices # # @see http://www.elasticsearch.org/guide/reference/api/admin-indices-get-settings/ # def get_settings(arguments={}) method = 'GET' path = Utils.__pathify( Utils.__listify(arguments[:index]), Utils.__listify(arguments[:type]), '_settings' ) params = {} body = nil perform_request(method, path, params, body).body end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
elasticsearch-api-0.4.0 | lib/elasticsearch/api/actions/indices/get_settings.rb |
elasticsearch-api-0.0.2 | lib/elasticsearch/api/actions/indices/get_settings.rb |