lib/elasticsearch/api/actions/bulk.rb in elasticsearch-api-7.7.0.pre vs lib/elasticsearch/api/actions/bulk.rb in elasticsearch-api-7.7.0
- old
+ new
@@ -21,10 +21,10 @@
# @option arguments [List] :_source_includes Default list of fields to extract and return from the _source field, can be overridden on each sub-request
# @option arguments [String] :pipeline The pipeline id to preprocess incoming documents with
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The operation definition and data (action-data pairs), separated by newlines (*Required*)
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.7/docs-bulk.html
#
def bulk(arguments = {})
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
headers = arguments.delete(:headers) || {}