Sha256: 4937f4b03d1ae5b44b5cb2c88c667fbf7b74752c307b8dd19a8f9138573df16f

Contents?: true

Size: 705 Bytes

Versions: 66

Compression:

Stored size: 705 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={})
          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

66 entries across 66 versions & 6 rubygems

Version Path
logstash-output-scalyr-0.1.9 vendor/bundle/jruby/2.5.0/gems/elasticsearch-api-5.0.5/lib/elasticsearch/api/actions/indices/seal.rb
logstash-output-scalyr-0.1.8 vendor/bundle/jruby/2.5.0/gems/elasticsearch-api-5.0.5/lib/elasticsearch/api/actions/indices/seal.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/gems/elasticsearch-api-5.0.5/lib/elasticsearch/api/actions/indices/seal.rb
logstash-output-scalyr-0.1.6 vendor/bundle/jruby/2.5.0/gems/elasticsearch-api-5.0.5/lib/elasticsearch/api/actions/indices/seal.rb
logstash-output-newrelic-1.2.0 vendor/bundle/jruby/2.5.0/gems/elasticsearch-api-5.0.5/lib/elasticsearch/api/actions/indices/seal.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.5.0/gems/elasticsearch-api-5.0.5/lib/elasticsearch/api/actions/indices/seal.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.5.0/gems/elasticsearch-api-5.0.5/lib/elasticsearch/api/actions/indices/seal.rb
logstash-output-scalyr-0.1.5 vendor/bundle/jruby/2.5.0/gems/elasticsearch-api-5.0.5/lib/elasticsearch/api/actions/indices/seal.rb
logstash-output-scalyr-0.1.4 vendor/bundle/jruby/2.5.0/gems/elasticsearch-api-5.0.5/lib/elasticsearch/api/actions/indices/seal.rb
logstash-output-scalyr-0.1.3 vendor/bundle/jruby/2.5.0/gems/elasticsearch-api-5.0.5/lib/elasticsearch/api/actions/indices/seal.rb
logstash-output-scalyr-0.1.2 vendor/bundle/jruby/2.5.0/gems/elasticsearch-api-5.0.5/lib/elasticsearch/api/actions/indices/seal.rb
elasticsearch-api-6.8.1 lib/elasticsearch/api/actions/indices/seal.rb
elasticsearch-api-6.8.0 lib/elasticsearch/api/actions/indices/seal.rb
elasticsearch-api-6.3.1 lib/elasticsearch/api/actions/indices/seal.rb
elasticsearch-api-6.2.0 lib/elasticsearch/api/actions/indices/seal.rb
logstash-filter-device_detection-1.0.7-java vendor/bundle/jruby/1.9/gems/elasticsearch-api-5.0.5/lib/elasticsearch/api/actions/indices/seal.rb
elasticsearch-api-6.1.0 lib/elasticsearch/api/actions/indices/seal.rb
elasticsearch-api-6.0.3 lib/elasticsearch/api/actions/indices/seal.rb
elasticsearch-api-5.0.5 lib/elasticsearch/api/actions/indices/seal.rb
elasticsearch-api-6.0.2 lib/elasticsearch/api/actions/indices/seal.rb