lib/elasticsearch/api/actions/reindex.rb in elasticsearch-api-8.14.0 vs lib/elasticsearch/api/actions/reindex.rb in elasticsearch-api-8.15.0

- old
+ new

@@ -34,10 +34,10 @@ # @option arguments [Number|string] :slices The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`. # @option arguments [Number] :max_docs Maximum number of documents to process (default: all documents) # @option arguments [Hash] :headers Custom HTTP headers # @option arguments [Hash] :body The search definition using the Query DSL and the prototype for the index request. (*Required*) # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-reindex.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-reindex.html # def reindex(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || 'reindex' } raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]