Skip to content

Commit 9e5b044

Browse files
Fixes issue in code and add redirects (opensearch-project#3964)
* fix redirects Signed-off-by: Heather Halter <[email protected]> * fix spelling Signed-off-by: Heather Halter <[email protected]> * Update _api-reference/index-apis/create-index.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Heather Halter <[email protected]> --------- Signed-off-by: Heather Halter <[email protected]> Signed-off-by: Heather Halter <[email protected]> Co-authored-by: kolchfa-aws <[email protected]>
1 parent f35e72d commit 9e5b044

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

_api-reference/index-apis/create-index.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ layout: default
33
title: Create index
44
parent: Index APIs
55
nav_order: 1
6+
redirect_from:
7+
- /opensearch/rest-api/index-apis/create-index/
68
---
79

810
# Create index
@@ -17,7 +19,6 @@ The following example demonstrates how to create an index with a non-default num
1719

1820
```json
1921
PUT /sample-index1
20-
2122
{
2223
"settings": {
2324
"index": {
@@ -91,7 +92,7 @@ index.hidden | Whether the index should be hidden. Hidden indices are not return
9192
Setting | Description
9293
:--- | :---
9394
index.number_of_replicas | The number of replica shards each primary shard should have. For example, if you have 4 primary shards and set `index.number_of_replicas` to 3, the index has 12 replica shards. Default is 1.
94-
index.auto_expand_replicas | Whether the cluster should automatically add replica shards based on the number of data nodes. Specify a lower bound and upper limit (for example, 0-9), or `all` for the upper limit. For example, if you have 5 data nodes and set `index.auto_expand_replicas` to 0-3, then the cluster does not autoamtically add another replica shard. However, if you set this value to `0-all` and add 2 more nodes for a total of 7, the cluster will expand to now have 6 replica shards. Default is disabled.
95+
index.auto_expand_replicas | Whether the cluster should automatically add replica shards based on the number of data nodes. Specify a lower and upper bound (for example, `0-9`). You can use `all` for the upper bound. For example, if you have 5 data nodes and set `index.auto_expand_replicas` to `0-3`, then the cluster does not automatically add another replica shard. However, if you set this value to `0-all` and add 2 more nodes for a total of 7, the cluster will expand to now have 6 replica shards. Default is `false` (disabled).
9596
index.search.idle.after | Amount of time a shard should wait for a search or get request until it goes idle. Default is `30s`.
9697
index.refresh_interval | How often the index should refresh, which publishes its most recent changes and makes them available for searching. Can be set to `-1` to disable refreshing. Default is `1s`.
9798
index.max_result_window | The maximum value of `from` + `size` for searches to the index. `from` is the starting index to search from, and `size` is the amount of results to return. Default: 10000.

_api-reference/index-apis/exists.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ layout: default
33
title: Index exists
44
parent: Index APIs
55
nav_order: 5
6+
redirect_from:
7+
- /opensearch/rest-api/index-apis/exists/
68
---
79

810
# Index exists

0 commit comments

Comments
 (0)