Skip to content

Commit 91e8d71

Browse files
committed
[API] Updates
Adds wait_for_index parameter to fleet.global_checkpoints Minor update on searchable_snapshots.stats source code documentation
1 parent 52c8603 commit 91e8d71

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

elasticsearch-xpack/lib/elasticsearch/xpack/api/actions/fleet/global_checkpoints.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module Actions
2828
#
2929
# @option arguments [String] :index The name of the index.
3030
# @option arguments [Boolean] :wait_for_advance Whether to wait for the global checkpoint to advance past the specified current checkpoints
31+
# @option arguments [Boolean] :wait_for_index Whether to wait for the target index to exist and all primary shards be active
3132
# @option arguments [List] :checkpoints Comma separated list of checkpoints
3233
# @option arguments [Time] :timeout Timeout to wait for global checkpoint to advance
3334
# @option arguments [Hash] :headers Custom HTTP headers
@@ -56,6 +57,7 @@ def global_checkpoints(arguments = {})
5657
# @since 6.2.0
5758
ParamsRegistry.register(:global_checkpoints, [
5859
:wait_for_advance,
60+
:wait_for_index,
5961
:checkpoints,
6062
:timeout
6163
].freeze)

elasticsearch-xpack/lib/elasticsearch/xpack/api/actions/searchable_snapshots/stats.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module XPack
2020
module API
2121
module SearchableSnapshots
2222
module Actions
23-
# Retrieve various statistics about searchable snapshots.
23+
# Retrieve shard-level statistics about searchable snapshots.
2424
# This functionality is Experimental and may be changed or removed
2525
# completely in a future release. Elastic will take a best effort approach
2626
# to fix any issues, but experimental features are not subject to the

0 commit comments

Comments
 (0)