Sha256: 7a049f9a4dcbfda281fb0dd0529c252196b6f380b8d79af0571216da0d94a93a
Contents?: true
Size: 848 Bytes
Versions: 5
Compression:
Stored size: 848 Bytes
Contents
module Elasticsearch module API module Actions # Pre-render search requests before they are executed and fill existing templates with template parameters # # @option arguments [String] :id The id of the stored search template # @option arguments [Hash] :body The search definition template and its params # # @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html # def render_search_template(arguments={}) Utils.__report_unsupported_method(__method__) valid_params = [ :id ] method = HTTP_GET path = "_render/template" params = Utils.__validate_and_extract_params arguments, valid_params body = arguments[:body] perform_request(method, path, params, body).body end end end end
Version data entries
5 entries across 5 versions & 1 rubygems