Sha256: 21e38bc6ec0347acf24aa6b884198a0862978aef0f7095b9791943cceb67c118
Contents?: true
Size: 1.09 KB
Versions: 5
Compression:
Stored size: 1.09 KB
Contents
module Elasticsearch module XPack module API module Rollup module Actions # TODO: Description # # @option arguments [String] :index The index or index-pattern (containing rollup or regular data) that should be searched (*Required*) # @option arguments [String] :type The doc type inside the index # @option arguments [Hash] :body The search request body (*Required*) # # @see # def rollup_search(arguments={}) raise ArgumentError, "Required argument 'index' missing" unless arguments[:index] raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] valid_params = [ :typed_keys ] method = Elasticsearch::API::HTTP_GET path = "#{arguments[:index]}/_rollup_search" params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params body = arguments[:body] perform_request(method, path, params, body).body end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems