lib/elasticsearch/api/actions/search_template.rb in elasticsearch-api-7.15.0 vs lib/elasticsearch/api/actions/search_template.rb in elasticsearch-api-7.16.0
- 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.15/search-template.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.16/search-template.html
#
def search_template(arguments = {})
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
headers = arguments.delete(:headers) || {}