lib/elasticsearch/api/actions/bulk.rb in elasticsearch-api-7.15.0 vs lib/elasticsearch/api/actions/bulk.rb in elasticsearch-api-7.16.0

- old
+ new

@@ -33,10 +33,10 @@ # @option arguments [Boolean] :require_alias Sets require_alias for all incoming documents. Defaults to unset (false) # @option arguments [Hash] :headers Custom HTTP headers # @option arguments [String|Array] :body The operation definition and data (action-data pairs), separated by newlines. Array of Strings, Header/Data pairs, # or the conveniency "combined" format can be passed, refer to Elasticsearch::API::Utils.__bulkify documentation. # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.15/docs-bulk.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.16/docs-bulk.html # def bulk(arguments = {}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] headers = arguments.delete(:headers) || {}