lib/elasticsearch/api/actions/search_template.rb in elasticsearch-api-8.11.2 vs lib/elasticsearch/api/actions/search_template.rb in elasticsearch-api-8.12.0
- old
+ new
@@ -38,10 +38,10 @@
# @option arguments [Boolean] :rest_total_hits_as_int Indicates whether hits.total should be rendered as an integer or an object in the rest search response
# @option arguments [Boolean] :ccs_minimize_roundtrips Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The search definition template and its params (*Required*)
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/search-template.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.12/search-template.html
#
def search_template(arguments = {})
request_opts = { endpoint: arguments[:endpoint] || "search_template" }
defined_params = [:index].inject({}) do |set_variables, variable|