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