From 4bf530065b823ac330583f3523736e1811a46bdb Mon Sep 17 00:00:00 2001 From: keithhc2 Date: Wed, 26 Jan 2022 15:20:12 -0800 Subject: [PATCH] Added some context Signed-off-by: keithhc2 --- _opensearch/rest-api/alias.md | 2 +- _opensearch/rest-api/put-mapping.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_opensearch/rest-api/alias.md b/_opensearch/rest-api/alias.md index e292fa18..458d79bf 100644 --- a/_opensearch/rest-api/alias.md +++ b/_opensearch/rest-api/alias.md @@ -67,7 +67,7 @@ aliases | Array | Array of alias names. | Yes if you don't supply an `alias` fie filter | Object | A filter to use with the alias, so the alias points to a filtered part of the index. | No is_hidden | Boolean | Specifies whether the alias should be hidden from results that include wildcard expressions | No must_exist | Boolean | Specifies whether the alias to remove must exist. | No -is_write_index | Boolean | Specifies whether the index should be a write index. An alias can only have one write index at a time. | No +is_write_index | Boolean | Specifies whether the index should be a write index. An alias can only have one write index at a time. If a write request is submitted to a alias that links to multiple indexes, OpenSearch executes the request only on the write index. | No routing | String | Used to assign a custom value to a shard for specific operations. | No index_routing | String | Assigns a custom value to a shard only for index operations. | No search_routing | String | Assigns a custom value to a shard only for search operations. | No diff --git a/_opensearch/rest-api/put-mapping.md b/_opensearch/rest-api/put-mapping.md index 034a64d5..349cec39 100644 --- a/_opensearch/rest-api/put-mapping.md +++ b/_opensearch/rest-api/put-mapping.md @@ -46,8 +46,8 @@ allow_no_indices | Boolean | Whether to ignore wildcards that don’t match any expand_wildcards | String | Expands wildcard expressions to different indices. Combine multiple values with commas. Available values are `all` (match all indices), `open` (match open indices), `closed` (match closed indices), `hidden` (match hidden indices), and `none` (do not accept wildcard expressions), which must be used with `open`, `closed`, or both. Default is `open`. ignore_unavailable | Boolean | If true, OpenSearch does not include missing or closed indices in the response. master_timeout | Time | How long to wait for a connection to the master node. Default is `30s`. -timeout | Time | How long to wait for the response to return. Default is `30s`. -write_index_only | Boolean | Whether OpenSearch should add the mapping only to the write index. +timeout | Time | How long to wait for a response from the cluster. Default is `30s`. +write_index_only | Boolean | Whether OpenSearch should add the mapping only to write indexes. If false, OpenSearch can add the mapping to all indexes with the same alias. See [alias]({{site.url}}{{site.baseurl}}/opensearch/rest-api/alias/#request-body) for more information. Default is false. ## Request body