Replace example

Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
This commit is contained in:
Naarcha-AWS 2022-05-03 11:38:42 -05:00
parent 31afaa363d
commit 9774fd8ac3
1 changed files with 4 additions and 14 deletions

View File

@ -173,24 +173,14 @@ Allows you to reduce the number of primary shards in your indexes. With this act
```json
"shrink": {
"num_new_shards": {
"type": "5"
},
"max_shard_size": {
"type": "5gb"
},
"percentage_of_source_shards": {
"type": "0.5"
},
"num_new_shards": 1,
"target_index_name_template": {
"source": "{{ctx.index}}_shrunken"
},
"aliases": {
"aliases": [
"my-alias": {}
},
"force_unsafe": {
"type": "false"
}
],
"force_unsafe": false
}
```