lib/elasticsearch/api/actions/search_template.rb in elasticsearch-api-7.9.0 vs lib/elasticsearch/api/actions/search_template.rb in elasticsearch-api-7.10.0.pre
- old
+ new
@@ -41,10 +41,10 @@
# *Deprecation notice*:
# Specifying types in urls has been deprecated
# Deprecated since version 7.0.0
#
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-template.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.10/search-template.html
#
def search_template(arguments = {})
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
headers = arguments.delete(:headers) || {}