lib/elasticsearch/api/actions/reindex.rb in elasticsearch-api-7.13.3 vs lib/elasticsearch/api/actions/reindex.rb in elasticsearch-api-7.14.0.pre
- old
+ new
@@ -31,10 +31,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/7.13/docs-reindex.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.14/docs-reindex.html
#
def reindex(arguments = {})
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
headers = arguments.delete(:headers) || {}