lib/elasticsearch/api/actions/index.rb in elasticsearch-api-7.7.0.pre vs lib/elasticsearch/api/actions/index.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/master/docs-index_.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/docs-index_.html
#
def index(arguments = {})
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]