Remove inconsistencies. Fix language.

Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
This commit is contained in:
Naarcha-AWS 2022-04-07 18:26:14 -05:00
parent e0c2f9448b
commit 95e2c83af5
1 changed files with 6 additions and 6 deletions

View File

@ -196,12 +196,12 @@ Allows you to reduce the number of primary shards in your indexes. With this act
Parameter | Description | Type | Example | Required
:--- | :--- |:--- |:--- |
`num_new_shards` | The maximum number of primary shards in the shrunken index | integer | `5` | Yes, however cannot be used with `max_shard_size` or `percentage_of_source_shards`.
`max_shard_size` | The maximum size in bytes of a shard on in the target index. | keyword | `5gb` | Yes, however cannot be used with `max_shard_size` or `percentage_of_source_shards`.
`percentage_of_source_shards` | Percentage of the number of original primary shards. This indicates the minimum percentage by which the number of primary shards will shrink. Must be between 0.0 and 1.0 exclusive | Percentage | `0.5` | Yes, however cannot be used with `max_shard_size` or `percentage_of_source_shards`.
`target_index_suffix` | Suffix that will be appended to the target index to by shrunk | text | `shrunken` | No
`aliases` | Aliases which will be added to the new index | object | `myalias` | No
`force_unsafe` | If true, executes the shrink action even if there are no replicas | boolean | `false` | No
`num_new_shards` | The maximum number of primary shards in the shrunken index. | integer | `5` | Yes, however cannot be used with `max_shard_size` or `percentage_of_source_shards`
`max_shard_size` | The maximum size in bytes of a shard for the target index. | keyword | `5gb` | Yes, however cannot be used with `max_shard_size` or `percentage_of_source_shards`
`percentage_of_source_shards` | Percentage of the number of original primary shards that will be shrunk. This indicates the minimum percentage by which the number of primary shards will shrink. Must be between 0.0 and 1.0 exclusive. | Percentage | `0.5` | Yes, however cannot be used with `max_shard_size` or `percentage_of_source_shards`
`target_index_suffix` | Suffix that will be appended to the target index to by shrunk. | text | `shrunken` | No
`aliases` | Aliases which will be added to the new index. | object | `myalias` | No
`force_unsafe` | If true, executes the shrink action even if there are no replicas. | boolean | `false` | No
### close