Skip to content

[API] Updates generated API code to the latest version #2755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions elasticsearch-api/lib/elasticsearch/api/actions/reindex.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ module Actions
# In this case, the response includes a count of the version conflicts that were encountered.
# Note that the handling of other error types is unaffected by the `conflicts` property.
# Additionally, if you opt to count version conflicts, the operation could attempt to reindex more documents from the source than `max_docs` until it has successfully indexed `max_docs` documents into the target or it has gone through every document in the source query.
# It's recommended to reindex on indices with a green status. Reindexing can fail when a node shuts down or crashes.
# * When requested with `wait_for_completion=true` (default), the request fails if the node shuts down.
# * When requested with `wait_for_completion=false`, a task id is returned, which can be used via the task management API to monitor, debug, or cancel the task. The task may disappear or fail if the node shuts down.
# When retrying a failed reindex operation, it might be necessary to set `conflicts=proceed` or to first delete the partial destination index.
# Additionally, dry runs, checking disk space, and fetching index recovery information can help address the root cause.
# Refer to the linked documentation for examples of how to reindex documents.
#
# @option arguments [Boolean] :refresh If `true`, the request refreshes affected shards to make this operation visible to search.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ module Actions
# If you specify this parameter in the request path, it is used for any documents that do not explicitly specify an index argument.
# @option arguments [String] :pipeline The pipeline to use as the default pipeline.
# This value can be used to override the default pipeline of the index.
# @option arguments [String] :merge_type The method to be used when merging mapping_additions existing mappings. Mappings can be merged in the way mapping changes are merged into an existing index, or in
# the way mapping changes are merged into existing templates. Some changes are allowed to templates that are not allowed to indices. For example,
# a field cannot be changed to an incompatible type in an index, but can in a template. Server default: index.
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
# when they occur.
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch-api/lib/elasticsearch/api/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
module Elasticsearch
module API
VERSION = '9.2.0'.freeze
ES_SPECIFICATION_COMMIT = 'c26dfd2c787bc7b187f3ccac15b9c5993d45f801'.freeze
ES_SPECIFICATION_COMMIT = 'e64428b1c0ca92962cbbe474009513fc0e59d89f'.freeze
end
end