Make example more in line with others on page

Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
This commit is contained in:
Naarcha-AWS 2022-05-03 10:39:36 -05:00
parent 429a982dd6
commit 31afaa363d
1 changed files with 5 additions and 5 deletions

View File

@ -174,22 +174,22 @@ Allows you to reduce the number of primary shards in your indexes. With this act
```json ```json
"shrink": { "shrink": {
"num_new_shards": { "num_new_shards": {
"type": "integer" "type": "5"
}, },
"max_shard_size": { "max_shard_size": {
"type": "keyword" "type": "5gb"
}, },
"percentage_of_source_shards": { "percentage_of_source_shards": {
"type": "double" "type": "0.5"
}, },
"target_index_name_template": { "target_index_name_template": {
"source": "{{ctx.index}}_shrunken" "source": "{{ctx.index}}_shrunken"
}, },
"aliases": { "aliases": {
"type": "array" "my-alias": {}
}, },
"force_unsafe": { "force_unsafe": {
"type": "boolean" "type": "false"
} }
} }
``` ```