Make example more in line with others on page
Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
This commit is contained in:
parent
429a982dd6
commit
31afaa363d
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue