Sha256: 6eeac82a70c139013c72394d1112f563f137cbc0035b8b45a44e2d4ad39e23ca

Contents?: true

Size: 747 Bytes

Versions: 5

Compression:

Stored size: 747 Bytes

Contents

module Elasticsearch
  module API
    module Indices
      module Actions

        # "Seal" and index or indices for faster recovery
        #
        # @option arguments [List] :index A comma-separated list of index names;
        #                                 use `_all` or empty string for all indices
        #
        # @see http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-seal.html
        #
        def seal(arguments={})
          valid_params = [
             ]
          method = 'POST'
          path   = Utils.__pathify Utils.__listify(arguments[:index]), '_seal'
          params = {}
          body   = nil

          perform_request(method, path, params, body).body
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
elasticsearch-api-1.0.14 lib/elasticsearch/api/actions/indices/seal.rb
elasticsearch-api-1.0.13 lib/elasticsearch/api/actions/indices/seal.rb
elasticsearch-api-1.0.12 lib/elasticsearch/api/actions/indices/seal.rb
elasticsearch-api-1.0.11 lib/elasticsearch/api/actions/indices/seal.rb
elasticsearch-api-1.0.10 lib/elasticsearch/api/actions/indices/seal.rb