Sha256: 4219fd8d691293177ba751792d7cdf6fb6e182a3afb03e0297a4ff3e73b7511c

Contents?: true

Size: 770 Bytes

Versions: 66

Compression:

Stored size: 770 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={})
        method = HTTP_GET
        path   = "_bench"
        params = {}
        body   = nil

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

Version data entries

66 entries across 66 versions & 6 rubygems

Version Path
elasticsearch-api-1.0.18 lib/elasticsearch/api/actions/list_benchmarks.rb
elasticsearch-api-1.0.17 lib/elasticsearch/api/actions/list_benchmarks.rb
elasticsearch-api-1.0.16 lib/elasticsearch/api/actions/list_benchmarks.rb
elasticsearch-api-1.0.16.pre2 lib/elasticsearch/api/actions/list_benchmarks.rb
elasticsearch-api-1.0.16.pre lib/elasticsearch/api/actions/list_benchmarks.rb
elasticsearch-api-1.0.15 lib/elasticsearch/api/actions/list_benchmarks.rb