From 58eee640e550ce2049f5b556349be24e88bbaca0 Mon Sep 17 00:00:00 2001 From: Luke Whiting Date: Fri, 28 Mar 2025 16:45:53 +0000 Subject: [PATCH] Update documentation for watcher update settings endpoint (#4141) (cherry picked from commit 8ac01e8fd32aa7022393b2fb75f281344fb1a15d) --- .../watcher/update_settings/WatcherUpdateSettingsRequest.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/watcher/update_settings/WatcherUpdateSettingsRequest.ts b/specification/watcher/update_settings/WatcherUpdateSettingsRequest.ts index c968b8666f..df8364f308 100644 --- a/specification/watcher/update_settings/WatcherUpdateSettingsRequest.ts +++ b/specification/watcher/update_settings/WatcherUpdateSettingsRequest.ts @@ -25,7 +25,10 @@ import { Duration } from '@_types/Time' * Update Watcher index settings. * Update settings for the Watcher internal index (`.watches`). * Only a subset of settings can be modified. - * This includes `index.auto_expand_replicas` and `index.number_of_replicas`. + * This includes `index.auto_expand_replicas`, `index.number_of_replicas`, `index.routing.allocation.exclude.*`, + * `index.routing.allocation.include.*` and `index.routing.allocation.require.*`. + * Modification of `index.routing.allocation.include._tier_preference` is an exception and is not allowed as the + * Watcher shards must always be in the `data_content` tier. * @rest_spec_name watcher.update_settings * @availability stack stability=stable visibility=public * @cluster_privileges manage_watcher