Skip to content

Commit

Permalink
Update spec from the main branch
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Truong <[email protected]>
  • Loading branch information
nhtruong committed Mar 26, 2024
1 parent 22a7b6c commit d1fb00c
Show file tree
Hide file tree
Showing 10 changed files with 3,690 additions and 0 deletions.
1,804 changes: 1,804 additions & 0 deletions build/OpenSearch.latest.yaml

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions spec/OpenSearch.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,32 @@ paths:
$ref: 'namespaces/ingest.yaml#/paths/~1_ingest~1pipeline~1{id}~1_simulate'
/_ingest/processor/grok:
$ref: 'namespaces/ingest.yaml#/paths/~1_ingest~1processor~1grok'
/_plugins/_knn/models/_search:
$ref: 'namespaces/knn.yaml#/paths/~1_plugins~1_knn~1models~1_search'
/_plugins/_knn/models/_train:
$ref: 'namespaces/knn.yaml#/paths/~1_plugins~1_knn~1models~1_train'
/_plugins/_knn/models/{model_id}:
$ref: 'namespaces/knn.yaml#/paths/~1_plugins~1_knn~1models~1{model_id}'
/_plugins/_knn/models/{model_id}/_train:
$ref: 'namespaces/knn.yaml#/paths/~1_plugins~1_knn~1models~1{model_id}~1_train'
/_plugins/_knn/stats:
$ref: 'namespaces/knn.yaml#/paths/~1_plugins~1_knn~1stats'
/_plugins/_knn/stats/{stat}:
$ref: 'namespaces/knn.yaml#/paths/~1_plugins~1_knn~1stats~1{stat}'
/_plugins/_knn/warmup/{index}:
$ref: 'namespaces/knn.yaml#/paths/~1_plugins~1_knn~1warmup~1{index}'
/_plugins/_knn/{node_id}/stats:
$ref: 'namespaces/knn.yaml#/paths/~1_plugins~1_knn~1{node_id}~1stats'
/_plugins/_knn/{node_id}/stats/{stat}:
$ref: 'namespaces/knn.yaml#/paths/~1_plugins~1_knn~1{node_id}~1stats~1{stat}'
/_plugins/_notifications/configs:
$ref: 'namespaces/notifications.yaml#/paths/~1_plugins~1_notifications~1configs'
/_plugins/_notifications/configs/{config_id}:
$ref: 'namespaces/notifications.yaml#/paths/~1_plugins~1_notifications~1configs~1{config_id}'
/_plugins/_notifications/feature/test/{config_id}:
$ref: 'namespaces/notifications.yaml#/paths/~1_plugins~1_notifications~1feature~1test~1{config_id}'
/_plugins/_notifications/features:
$ref: 'namespaces/notifications.yaml#/paths/~1_plugins~1_notifications~1features'
/_plugins/_security/api/account:
$ref: 'namespaces/security.yaml#/paths/~1_plugins~1_security~1api~1account'
/_plugins/_security/api/actiongroups:
Expand Down Expand Up @@ -440,6 +466,8 @@ paths:
$ref: 'namespaces/security.yaml#/paths/~1_plugins~1_security~1health'
/_remotestore/_restore:
$ref: 'namespaces/remote_store.yaml#/paths/~1_remotestore~1_restore'
/_search/pipeline/{pipeline}:
$ref: 'namespaces/search_pipeline.yaml#/paths/~1_search~1pipeline~1{pipeline}'
/_snapshot:
$ref: 'namespaces/snapshot.yaml#/paths/~1_snapshot'
/_snapshot/_status:
Expand Down
14 changes: 14 additions & 0 deletions spec/namespaces/_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@ paths:
- $ref: '#/components/parameters/search::query.pre_filter_shard_size'
- $ref: '#/components/parameters/search::query.rest_total_hits_as_int'
- $ref: '#/components/parameters/search::query.search_pipeline'
- $ref: '#/components/parameters/search::query.include_named_queries_score'
requestBody:
$ref: '#/components/requestBodies/search'
responses:
Expand Down Expand Up @@ -710,6 +711,7 @@ paths:
- $ref: '#/components/parameters/search::query.pre_filter_shard_size'
- $ref: '#/components/parameters/search::query.rest_total_hits_as_int'
- $ref: '#/components/parameters/search::query.search_pipeline'
- $ref: '#/components/parameters/search::query.include_named_queries_score'
requestBody:
$ref: '#/components/requestBodies/search'
responses:
Expand Down Expand Up @@ -1616,6 +1618,7 @@ paths:
- $ref: '#/components/parameters/search::query.pre_filter_shard_size'
- $ref: '#/components/parameters/search::query.rest_total_hits_as_int'
- $ref: '#/components/parameters/search::query.search_pipeline'
- $ref: '#/components/parameters/search::query.include_named_queries_score'
requestBody:
$ref: '#/components/requestBodies/search'
responses:
Expand Down Expand Up @@ -1671,6 +1674,7 @@ paths:
- $ref: '#/components/parameters/search::query.pre_filter_shard_size'
- $ref: '#/components/parameters/search::query.rest_total_hits_as_int'
- $ref: '#/components/parameters/search::query.search_pipeline'
- $ref: '#/components/parameters/search::query.include_named_queries_score'
requestBody:
$ref: '#/components/requestBodies/search'
responses:
Expand Down Expand Up @@ -5246,6 +5250,16 @@ components:
schema:
type: boolean
style: form
search::query.include_named_queries_score:
name: include_named_queries_score
in: query
description: Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched
query associated with its score (true) or as an array containing the name of the matched queries (false)
schema:
type: boolean
default: false
description: Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched
query associated with its score (true) or as an array containing the name of the matched queries (false)
search::query.lenient:
in: query
name: lenient
Expand Down
10 changes: 10 additions & 0 deletions spec/namespaces/indices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ paths:
url: https://opensearch.org/docs/latest
parameters:
- $ref: '#/components/parameters/indices.forcemerge::query.flush'
- $ref: '#/components/parameters/indices.forcemerge::query.primary_only'
- $ref: '#/components/parameters/indices.forcemerge::query.ignore_unavailable'
- $ref: '#/components/parameters/indices.forcemerge::query.allow_no_indices'
- $ref: '#/components/parameters/indices.forcemerge::query.expand_wildcards'
Expand Down Expand Up @@ -1215,6 +1216,7 @@ paths:
parameters:
- $ref: '#/components/parameters/indices.forcemerge::path.index'
- $ref: '#/components/parameters/indices.forcemerge::query.flush'
- $ref: '#/components/parameters/indices.forcemerge::query.primary_only'
- $ref: '#/components/parameters/indices.forcemerge::query.ignore_unavailable'
- $ref: '#/components/parameters/indices.forcemerge::query.allow_no_indices'
- $ref: '#/components/parameters/indices.forcemerge::query.expand_wildcards'
Expand Down Expand Up @@ -3416,6 +3418,14 @@ components:
schema:
type: boolean
style: form
indices.forcemerge::query.primary_only:
name: primary_only
in: query
description: Specify whether the operation should only perform on primary shards. Defaults to false.
schema:
type: boolean
default: false
description: Specify whether the operation should only perform on primary shards. Defaults to false.
indices.forcemerge::query.wait_for_completion:
in: query
name: wait_for_completion
Expand Down
Loading

0 comments on commit d1fb00c

Please sign in to comment.