Skip to content

Commit 79cb441

Browse files
committed
[API] Updates generated API code to the latest version
simulate.ingest - Adds `merge_type` String parameter, the method to be used when merging mapping_additions existing mappings.
1 parent ac32f23 commit 79cb441

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/reindex.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ module Actions
5151
# In this case, the response includes a count of the version conflicts that were encountered.
5252
# Note that the handling of other error types is unaffected by the `conflicts` property.
5353
# 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.
54+
# It's recommended to reindex on indices with a green status. Reindexing can fail when a node shuts down or crashes.
55+
# * When requested with `wait_for_completion=true` (default), the request fails if the node shuts down.
56+
# * 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.
57+
# When retrying a failed reindex operation, it might be necessary to set `conflicts=proceed` or to first delete the partial destination index.
58+
# Additionally, dry runs, checking disk space, and fetching index recovery information can help address the root cause.
5459
# Refer to the linked documentation for examples of how to reindex documents.
5560
#
5661
# @option arguments [Boolean] :refresh If `true`, the request refreshes affected shards to make this operation visible to search.

elasticsearch-api/lib/elasticsearch/api/actions/simulate/ingest.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ module Actions
4545
# If you specify this parameter in the request path, it is used for any documents that do not explicitly specify an index argument.
4646
# @option arguments [String] :pipeline The pipeline to use as the default pipeline.
4747
# This value can be used to override the default pipeline of the index.
48+
# @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
49+
# the way mapping changes are merged into existing templates. Some changes are allowed to templates that are not allowed to indices. For example,
50+
# a field cannot be changed to an incompatible type in an index, but can in a template. Server default: index.
4851
# @option arguments [Boolean] :error_trace When set to `true` Elasticsearch will include the full stack trace of errors
4952
# when they occur.
5053
# @option arguments [String, Array<String>] :filter_path Comma-separated list of filters in dot notation which reduce the response

elasticsearch-api/lib/elasticsearch/api/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
module Elasticsearch
1919
module API
2020
VERSION = '9.2.0'.freeze
21-
ES_SPECIFICATION_COMMIT = 'c26dfd2c787bc7b187f3ccac15b9c5993d45f801'.freeze
21+
ES_SPECIFICATION_COMMIT = 'e64428b1c0ca92962cbbe474009513fc0e59d89f'.freeze
2222
end
2323
end

0 commit comments

Comments
 (0)