Sha256: 277f8db6c41958b71322c719eb93f73cddc8c7df31f2ebeb47190ef76f519372

Contents?: true

Size: 805 Bytes

Versions: 4

Compression:

Stored size: 805 Bytes

Contents

module Elasticsearch
  module API
    module Actions

      # Return a list of running benchmarks
      #
      # @example
      #
      #     client.list_benchmarks
      #
      # @option arguments [List] :index A comma-separated list of index names; use `_all` or empty string
      #                                 to perform the operation on all indices
      # @option arguments [String] :type The name of the document type
      #
      # @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-benchmark.html
      #
      def list_benchmarks(arguments={})
        valid_params = [
           ]
        method = 'GET'
        path   = "_bench"
        params = {}
        body   = nil

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
elasticsearch-api-1.0.6 lib/elasticsearch/api/actions/list_benchmarks.rb
elasticsearch-api-1.0.5 lib/elasticsearch/api/actions/list_benchmarks.rb
elasticsearch-api-1.0.4 lib/elasticsearch/api/actions/list_benchmarks.rb
elasticsearch-api-1.0.2 lib/elasticsearch/api/actions/list_benchmarks.rb