Skip to content

Commit 398481e

Browse files
authored
Replaced all indices with indexes. (opensearch-project#671)
* Replaced all indices with indexes. Signed-off-by: dblock <[email protected]> * Fixed CHANGELOG entries under the 0.1.0 release. Signed-off-by: dblock <[email protected]> --------- Signed-off-by: dblock <[email protected]>
1 parent 0f40a0e commit 398481e

37 files changed

+300
-300
lines changed

CHANGELOG.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1212
- Added `_common.mapping:FlatObjectProperty` ([#661](https://github.com/opensearch-project/opensearch-api-specification/pull/661))
1313
- Added `HEAD /{index}/_doc/{id}` returning `404` ([#670](https://github.com/opensearch-project/opensearch-api-specification/pull/670))
1414
- Added `_common.mapping:IcuCollationKeywordProperty` ([#666](https://github.com/opensearch-project/opensearch-api-specification/pull/666))
15+
- Added `/_cluster/stats/{metric}/nodes/{node_id}` and `/_cluster/stats/{metric}/{index_metric}/nodes/{node_id}` ([#639](https://github.com/opensearch-project/opensearch-api-specification/pull/639))
16+
- Added `PhoneAnalyzer` from `analysis-phonenumber` plugin ([#609](https://github.com/opensearch-project/opensearch-api-specification/pull/609))
17+
- Added `/_list/indices` & `/_list/shards` api specs ([#613](https://github.com/opensearch-project/opensearch-api-specification/pull/613))
1518

1619
### Removed
1720
- Removed unsupported `_common.mapping:SourceField`'s `mode` field and associated `_common.mapping:SourceFieldMode` enum ([#652](https://github.com/opensearch-project/opensearch-api-specification/pull/652))
@@ -135,8 +138,6 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
135138
- Added API spec for `adjust_pure_negative` for bool queries ([#641](https://github.com/opensearch-project/opensearch-api-specification/pull/641))
136139
- Added a spec style checker [#620](https://github.com/opensearch-project/opensearch-api-specification/pull/620).
137140
- Added `remote_store` to node `Stats` ([#643](https://github.com/opensearch-project/opensearch-api-specification/pull/643))
138-
- Added `/_cluster/stats/{metric}/nodes/{node_id}` and `/_cluster/stats/{metric}/{index_metric}/nodes/{node_id}` ([#639](https://github.com/opensearch-project/opensearch-api-specification/pull/639))
139-
- Added `PhoneAnalyzer` from `analysis-phonenumber` plugin ([#609](https://github.com/opensearch-project/opensearch-api-specification/pull/609))
140141

141142
### Changed
142143

@@ -161,7 +162,6 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
161162
- Changed `cluster.reroute`'s `metric` path param to use an enum of metrics ([#586](https://github.com/opensearch-project/opensearch-api-specification/pull/586))
162163
- Changed `indices.stats`'s `metric` path param to use an enum of metrics ([#586](https://github.com/opensearch-project/opensearch-api-specification/pull/586))
163164
- Changed `CleanupRepositoryResults`' properties to be `int64`s ([#587](https://github.com/opensearch-project/opensearch-api-specification/pull/587))
164-
- Added `/_list/indices` & `/_list/shards` api specs ([#613](https://github.com/opensearch-project/opensearch-api-specification/pull/613))
165165

166166
### Deprecated
167167

TESTING_GUIDE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Remember to set the `OPENSEARCH_PASSWORD` or `AWS_ACCESS_KEY_ID` and `AWS_SECRET
9797
9898
#### FORBIDDEN/10/cluster create-index blocked (api)
9999
100-
The cluster is most likely hitting a disk watermark threshold. This example sets the disk watermark thresholds to 1500MB low, 100MB high, and 500MB flood stage, allowing the cluster to create indices even if the disk is almost full.
100+
The cluster is most likely hitting a disk watermark threshold. This example sets the disk watermark thresholds to 1500MB low, 100MB high, and 500MB flood stage, allowing the cluster to create indexes even if the disk is almost full.
101101
102102
```bash
103103
curl -k -X PUT --user "admin:${OPENSEARCH_PASSWORD}" https://localhost:9200/_cluster/settings -H 'Content-Type: application/json' -d'

spec/namespaces/_core.yaml

+56-56
Large diffs are not rendered by default.

spec/namespaces/cat.yaml

+25-25
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ paths:
2020
operationId: cat.aliases.0
2121
x-operation-group: cat.aliases
2222
x-version-added: '1.0'
23-
description: Shows information about currently configured aliases to indices including filter and routing infos.
23+
description: Shows information about currently configured aliases to indexes including filter and routing info.
2424
externalDocs:
2525
url: https://opensearch.org/docs/latest/api-reference/cat/cat-aliases/
2626
parameters:
@@ -39,7 +39,7 @@ paths:
3939
operationId: cat.aliases.1
4040
x-operation-group: cat.aliases
4141
x-version-added: '1.0'
42-
description: Shows information about currently configured aliases to indices including filter and routing infos.
42+
description: Shows information about currently configured aliases to indexes including filter and routing info.
4343
externalDocs:
4444
url: https://opensearch.org/docs/latest/api-reference/cat/cat-aliases/
4545
parameters:
@@ -122,7 +122,7 @@ paths:
122122
operationId: cat.count.0
123123
x-operation-group: cat.count
124124
x-version-added: '1.0'
125-
description: Provides quick access to the document count of the entire cluster, or individual indices.
125+
description: Provides quick access to the document count of the entire cluster, or individual indexes.
126126
externalDocs:
127127
url: https://opensearch.org/docs/latest/api-reference/cat/cat-count/
128128
parameters:
@@ -139,7 +139,7 @@ paths:
139139
operationId: cat.count.1
140140
x-operation-group: cat.count
141141
x-version-added: '1.0'
142-
description: Provides quick access to the document count of the entire cluster, or individual indices.
142+
description: Provides quick access to the document count of the entire cluster, or individual indexes.
143143
externalDocs:
144144
url: https://opensearch.org/docs/latest/api-reference/cat/cat-count/
145145
parameters:
@@ -215,7 +215,7 @@ paths:
215215
operationId: cat.indices.0
216216
x-operation-group: cat.indices
217217
x-version-added: '1.0'
218-
description: 'Returns information about indices: number of primaries and replicas, document counts, disk size, ...'
218+
description: 'Returns information about indexes: number of primaries and replicas, document counts, disk size, ...'
219219
externalDocs:
220220
url: https://opensearch.org/docs/latest/api-reference/cat/cat-indices/
221221
parameters:
@@ -241,7 +241,7 @@ paths:
241241
operationId: cat.indices.1
242242
x-operation-group: cat.indices
243243
x-version-added: '1.0'
244-
description: 'Returns information about indices: number of primaries and replicas, document counts, disk size, ...'
244+
description: 'Returns information about indexes: number of primaries and replicas, document counts, disk size, ...'
245245
externalDocs:
246246
url: https://opensearch.org/docs/latest/api-reference/cat/cat-indices/
247247
parameters:
@@ -1066,7 +1066,7 @@ components:
10661066
cat.aliases::query.expand_wildcards:
10671067
in: query
10681068
name: expand_wildcards
1069-
description: Whether to expand wildcard expression to concrete indices that are open, closed or both.
1069+
description: Whether to expand wildcard expression to concrete indexes that are open, closed or both.
10701070
schema:
10711071
$ref: '../schemas/_common.yaml#/components/schemas/ExpandWildcards'
10721072
style: form
@@ -1331,8 +1331,8 @@ components:
13311331
in: path
13321332
name: index
13331333
description: |-
1334-
Comma-separated list of data streams, indices, and aliases used to limit the request.
1335-
Supports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.
1334+
Comma-separated list of data streams, indexes, and aliases used to limit the request.
1335+
Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
13361336
required: true
13371337
schema:
13381338
$ref: '../schemas/_common.yaml#/components/schemas/Indices'
@@ -1515,8 +1515,8 @@ components:
15151515
in: path
15161516
name: index
15171517
description: |-
1518-
Comma-separated list of data streams, indices, and aliases used to limit the request.
1519-
Supports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.
1518+
Comma-separated list of data streams, indexes, and aliases used to limit the request.
1519+
Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
15201520
required: true
15211521
schema:
15221522
$ref: '../schemas/_common.yaml#/components/schemas/Indices'
@@ -1563,7 +1563,7 @@ components:
15631563
cat.indices::query.health:
15641564
in: query
15651565
name: health
1566-
description: The health status used to limit returned indices. By default, the response includes indices of any health status.
1566+
description: The health status used to limit returned indexes. By default, the response includes indexes of any health status.
15671567
schema:
15681568
$ref: '../schemas/_common.yaml#/components/schemas/HealthStatus'
15691569
style: form
@@ -2066,8 +2066,8 @@ components:
20662066
in: path
20672067
name: index
20682068
description: |-
2069-
A comma-separated list of data streams, indices, and aliases used to limit the request.
2070-
Supports wildcards (`*`). To target all data streams and indices, omit this parameter or use `*` or `_all`.
2069+
A comma-separated list of data streams, indexes, and aliases used to limit the request.
2070+
Supports wildcards (`*`). To target all data streams and indexes, omit this parameter or use `*` or `_all`.
20712071
required: true
20722072
schema:
20732073
$ref: '../schemas/_common.yaml#/components/schemas/Indices'
@@ -2247,10 +2247,10 @@ components:
22472247
cat.segment_replication::query.allow_no_indices:
22482248
name: allow_no_indices
22492249
in: query
2250-
description: Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified).
2250+
description: Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified).
22512251
schema:
22522252
type: boolean
2253-
description: Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified).
2253+
description: Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified).
22542254
cat.segment_replication::query.bytes:
22552255
name: bytes
22562256
in: query
@@ -2276,7 +2276,7 @@ components:
22762276
cat.segment_replication::query.expand_wildcards:
22772277
name: expand_wildcards
22782278
in: query
2279-
description: Whether to expand wildcard expression to concrete indices that are open, closed or both.
2279+
description: Whether to expand wildcard expression to concrete indexes that are open, closed or both.
22802280
schema:
22812281
$ref: '../schemas/_common.yaml#/components/schemas/ExpandWildcards'
22822282
cat.segment_replication::query.format:
@@ -2308,17 +2308,17 @@ components:
23082308
cat.segment_replication::query.ignore_throttled:
23092309
name: ignore_throttled
23102310
in: query
2311-
description: Whether specified concrete, expanded or aliased indices should be ignored when throttled.
2311+
description: Whether specified concrete, expanded or aliased indexes should be ignored when throttled.
23122312
schema:
23132313
type: boolean
2314-
description: Whether specified concrete, expanded or aliased indices should be ignored when throttled.
2314+
description: Whether specified concrete, expanded or aliased indexes should be ignored when throttled.
23152315
cat.segment_replication::query.ignore_unavailable:
23162316
name: ignore_unavailable
23172317
in: query
2318-
description: Whether specified concrete indices should be ignored when unavailable (missing or closed).
2318+
description: Whether specified concrete indexes should be ignored when unavailable (missing or closed).
23192319
schema:
23202320
type: boolean
2321-
description: Whether specified concrete indices should be ignored when unavailable (missing or closed).
2321+
description: Whether specified concrete indexes should be ignored when unavailable (missing or closed).
23222322
cat.segment_replication::query.index:
23232323
name: index
23242324
in: query
@@ -2376,9 +2376,9 @@ components:
23762376
in: path
23772377
name: index
23782378
description: |-
2379-
A comma-separated list of data streams, indices, and aliases used to limit the request.
2379+
A comma-separated list of data streams, indexes, and aliases used to limit the request.
23802380
Supports wildcards (`*`).
2381-
To target all data streams and indices, omit this parameter or use `*` or `_all`.
2381+
To target all data streams and indexes, omit this parameter or use `*` or `_all`.
23822382
required: true
23832383
schema:
23842384
$ref: '../schemas/_common.yaml#/components/schemas/Indices'
@@ -2455,9 +2455,9 @@ components:
24552455
in: path
24562456
name: index
24572457
description: |-
2458-
A comma-separated list of data streams, indices, and aliases used to limit the request.
2458+
A comma-separated list of data streams, indexes, and aliases used to limit the request.
24592459
Supports wildcards (`*`).
2460-
To target all data streams and indices, omit this parameter or use `*` or `_all`.
2460+
To target all data streams and indexes, omit this parameter or use `*` or `_all`.
24612461
required: true
24622462
schema:
24632463
$ref: '../schemas/_common.yaml#/components/schemas/Indices'

spec/namespaces/cluster.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,8 @@ components:
539539
allow_auto_create:
540540
description: |-
541541
This setting overrides the value of the `action.auto_create_index` cluster setting.
542-
If set to `true` in a template, then indices can be automatically created using that
543-
template even if auto-creation of indices is disabled via `actions.auto_create_index`.
542+
If set to `true` in a template, then indexes can be automatically created using that
543+
template even if auto-creation of indexes is disabled using `actions.auto_create_index`.
544544
If set to `false` then data streams matching the template must always be explicitly created.
545545
type: boolean
546546
template:
@@ -1009,7 +1009,7 @@ components:
10091009
cluster.health::path.index:
10101010
in: path
10111011
name: index
1012-
description: Comma-separated list of data streams, indices, and index aliases used to limit the request. Wildcard expressions (*) are supported. To target all data streams and indices in a cluster, omit this parameter or use `_all` or `*`.
1012+
description: Comma-separated list of data streams, indexes, and index aliases used to limit the request. Wildcard expressions (*) are supported. To target all data streams and indexes in a cluster, omit this parameter or use `_all` or `*`.
10131013
required: true
10141014
schema:
10151015
$ref: '../schemas/_common.yaml#/components/schemas/Indices'
@@ -1031,14 +1031,14 @@ components:
10311031
cluster.health::query.expand_wildcards:
10321032
in: query
10331033
name: expand_wildcards
1034-
description: Whether to expand wildcard expression to concrete indices that are open, closed or both.
1034+
description: Whether to expand wildcard expression to concrete indexes that are open, closed or both.
10351035
schema:
10361036
$ref: '../schemas/_common.yaml#/components/schemas/ExpandWildcards'
10371037
style: form
10381038
cluster.health::query.level:
10391039
in: query
10401040
name: level
1041-
description: Can be one of cluster, indices or shards. Controls the details level of the health information returned.
1041+
description: Can be one of cluster, indexes or shards. Controls the details level of the health information returned.
10421042
schema:
10431043
$ref: '../schemas/cluster.health.yaml#/components/schemas/Level'
10441044
style: form
@@ -1175,7 +1175,7 @@ components:
11751175
description: |-
11761176
Name of the component template to create.
11771177
OpenSearch includes the following built-in component templates: `logs-mappings`; 'logs-settings`; `metrics-mappings`; `metrics-settings`;`synthetics-mapping`; `synthetics-settings`.
1178-
OpenSearch Agent uses these templates to configure backing indices for its data streams.
1178+
OpenSearch Agent uses these templates to configure backing indexes for its data streams.
11791179
If you use OpenSearch Agent and want to overwrite one of these templates, set the `version` for your replacement template higher than the current version.
11801180
If you don't use OpenSearch Agent and want to disable all built-in component and index templates, set `stack.templates.enabled` to `false` using the cluster update settings API.
11811181
required: true
@@ -1330,7 +1330,7 @@ components:
13301330
cluster.state::path.index:
13311331
in: path
13321332
name: index
1333-
description: A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
1333+
description: A comma-separated list of index names; use `_all` or empty string to perform the operation on all indexes
13341334
required: true
13351335
schema:
13361336
$ref: '../schemas/_common.yaml#/components/schemas/Indices'
@@ -1348,7 +1348,7 @@ components:
13481348
cluster.state::query.allow_no_indices:
13491349
in: query
13501350
name: allow_no_indices
1351-
description: Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
1351+
description: Whether to ignore if a wildcard indexes expression resolves into no concrete indexes. (This includes `_all` string or when no indexes have been specified)
13521352
schema:
13531353
type: boolean
13541354
style: form
@@ -1362,7 +1362,7 @@ components:
13621362
cluster.state::query.expand_wildcards:
13631363
in: query
13641364
name: expand_wildcards
1365-
description: Whether to expand wildcard expression to concrete indices that are open, closed or both.
1365+
description: Whether to expand wildcard expression to concrete indexes that are open, closed or both.
13661366
schema:
13671367
$ref: '../schemas/_common.yaml#/components/schemas/ExpandWildcards'
13681368
style: form
@@ -1377,7 +1377,7 @@ components:
13771377
cluster.state::query.ignore_unavailable:
13781378
in: query
13791379
name: ignore_unavailable
1380-
description: Whether specified concrete indices should be ignored when unavailable (missing or closed)
1380+
description: Whether specified concrete indexes should be ignored when unavailable (missing or closed)
13811381
schema:
13821382
type: boolean
13831383
style: form

spec/namespaces/dangling_indices.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ paths:
99
operationId: dangling_indices.list_dangling_indices.0
1010
x-operation-group: dangling_indices.list_dangling_indices
1111
x-version-added: '1.0'
12-
description: Returns all dangling indices.
12+
description: Returns all dangling indexes.
1313
externalDocs:
1414
url: https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/
1515
parameters: []

0 commit comments

Comments
 (0)