Sha256: 6499348354376ebed5323114d16859273fab0e41c8c6fd4910a8553d15a67bc2

Contents?: true

Size: 860 Bytes

Versions: 12

Compression:

Stored size: 860 Bytes

Contents

module Elasticsearch
  module API
    module Cluster
      module Actions

        # Get the cluster settings (previously set with {Cluster::Actions#put_settings})
        #
        # @example Get cluster settings
        #
        #     client.cluster.get_settings
        #
        # @option arguments [Boolean] :flat_settings Return settings in flat format (default: false)
        #
        # @see http://elasticsearch.org/guide/reference/api/admin-cluster-update-settings/
        #
        def get_settings(arguments={})
          valid_params = [
            :flat_settings
          ]

          method = 'GET'
          path   = "_cluster/settings"
          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

12 entries across 12 versions & 1 rubygems

Version Path
elasticsearch-api-1.0.6 lib/elasticsearch/api/actions/cluster/get_settings.rb
elasticsearch-api-1.0.5 lib/elasticsearch/api/actions/cluster/get_settings.rb
elasticsearch-api-1.0.4 lib/elasticsearch/api/actions/cluster/get_settings.rb
elasticsearch-api-1.0.2 lib/elasticsearch/api/actions/cluster/get_settings.rb
elasticsearch-api-1.0.1 lib/elasticsearch/api/actions/cluster/get_settings.rb
elasticsearch-api-1.0.0 lib/elasticsearch/api/actions/cluster/get_settings.rb
elasticsearch-api-0.4.11 lib/elasticsearch/api/actions/cluster/get_settings.rb
elasticsearch-api-0.4.10 lib/elasticsearch/api/actions/cluster/get_settings.rb
elasticsearch-api-0.4.9 lib/elasticsearch/api/actions/cluster/get_settings.rb
elasticsearch-api-1.0.0.rc2 lib/elasticsearch/api/actions/cluster/get_settings.rb
elasticsearch-api-1.0.0.rc1 lib/elasticsearch/api/actions/cluster/get_settings.rb
elasticsearch-api-0.4.8 lib/elasticsearch/api/actions/cluster/get_settings.rb