Browse Source

Reference stored scripts in snapshot restore (#102966)

Closes #102903
Iraklis Psaroudakis 1 year ago
parent
commit
ed2f02c963

+ 3 - 2
docs/reference/snapshot-restore/apis/restore-snapshot-api.asciidoc

@@ -159,6 +159,7 @@ The cluster state includes:
 * <<indices-templates-v1,Legacy index templates>>
 * <<ingest,Ingest pipelines>>
 * <<index-lifecycle-management,{ilm-init} policies>>
+* <<script-stored-scripts,Stored scripts>>
 * For snapshots taken after 7.12.0, <<feature-state,feature states>>
 // end::cluster-state-contents[]
 
@@ -260,12 +261,12 @@ You may want to restore an index in-place, for example when no alternative
 options surface after the <<cluster-allocation-explain>> API reports
 `no_valid_shard_copy`.
 
-The following request <<indices-close,closes>> `index_1` and then restores it 
+The following request <<indices-close,closes>> `index_1` and then restores it
 in-place from the `snapshot_2` snapshot in the `my_repository` repository.
 
 [source,console]
 ----
-POST index_1/_close 
+POST index_1/_close
 
 POST /_snapshot/my_repository/snapshot_2/_restore?wait_for_completion=true
 {