From a5ac71a07928f2c10ee5d1a096cc06ba133f52c0 Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Tue, 7 Mar 2023 16:25:25 -0500 Subject: [PATCH] Add descriptions for index codec values (#3252) * Add descriptions for index codec values Signed-off-by: Fanit Kolchina * Switched default and best compression Signed-off-by: Fanit Kolchina --------- Signed-off-by: Fanit Kolchina --- _api-reference/index-apis/create-index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_api-reference/index-apis/create-index.md b/_api-reference/index-apis/create-index.md index c5a3b17a..5328869b 100644 --- a/_api-reference/index-apis/create-index.md +++ b/_api-reference/index-apis/create-index.md @@ -80,7 +80,7 @@ Setting | Description index.number_of_shards | The number of primary shards in the index. Default is 1. index.number_of_routing_shards | The number of routing shards used to split an index. index.shard.check_on_startup | Whether the index's shards should be checked for corruption. Available options are `false` (do not check for corruption), `checksum` (check for physical corruption), and `true` (check for both physical and logical corruption). Default is `false`. -index.codec | The compression type to use to compress stored data. Available values are `best_compression` and `default`. +index.codec | The compression type to use to compress stored data. Available values are `default` (optimizes for retrieval speed) and `best_compression` (optimizes for better compression at the expense of speed, leading to smaller data sizes on disk). index.routing_partition_size | The number of shards a custom routing value can go to. Routing helps an imbalanced cluster by relocating values to a subset of shards rather than just a single shard. To enable, set this value to greater than 1 but less than `index.number_of_shards`. Default is 1. index.soft_deletes.retention_lease.period | The maximum amount of time to retain a shard's history of operations. Default is `12h`. index.load_fixed_bitset_filters_eagerly | Whether OpenSearch should pre-load cached filters. Available options are `true` and `false`. Default is `true`.