lib/elasticsearch/api/actions/index.rb in elasticsearch-api-8.8.0 vs lib/elasticsearch/api/actions/index.rb in elasticsearch-api-8.9.0
- old
+ new
@@ -37,10 +37,10 @@
# @option arguments [String] :pipeline The pipeline id to preprocess incoming documents with
# @option arguments [Boolean] :require_alias When true, requires destination to be an alias. Default is false
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The document (*Required*)
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.8/docs-index_.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.9/docs-index_.html
#
def index(arguments = {})
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]