diff --git a/docs/reference/how-to/size-your-shards.asciidoc b/docs/reference/how-to/size-your-shards.asciidoc index dfa384d1f7d08..045eeba97947b 100644 --- a/docs/reference/how-to/size-your-shards.asciidoc +++ b/docs/reference/how-to/size-your-shards.asciidoc @@ -255,7 +255,7 @@ unneeded indices. [source,console] ---- -DELETE my-index-* +DELETE my-index-000001 ---- // TEST[setup:my_index] @@ -281,12 +281,6 @@ POST my-index-000001/_forcemerge If you no longer write to an index, you can use the <> to reduce its shard count. -[source,console] ----- -POST my-index-000001/_shrink/my-shrunken-index-000001 ----- -// TEST[s/^/PUT my-index-000001\n{"settings":{"index.number_of_shards":2,"blocks.write":true}}\n/] - {ilm-init} also has a <> for indices in the warm phase.