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