Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 81 additions & 43 deletions opensearch-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12624,6 +12624,10 @@ paths:
responses:
'200':
$ref: '#/components/responses/indices.create___200'
'400':
$ref: '#/components/responses/indices.create___400'
'500':
$ref: '#/components/responses/indices.create___500'
/{index}/_alias:
get:
operationId: indices.get_alias.2
Expand Down Expand Up @@ -30297,7 +30301,6 @@ components:
title: BulkRequestBody
anyOf:
- $ref: '#/components/schemas/_core.bulk___OperationContainer'
x-protobuf-required: true
- $ref: '#/components/schemas/_core.bulk___UpdateAction'
- type: object
additionalProperties: true
Expand Down Expand Up @@ -34200,6 +34203,18 @@ components:
- index
- shards_acknowledged
description: ''
indices.create___400:
description: Bad request error when creating index (for example, invalid mapping, settings, or field configuration).
content:
application/json:
schema:
$ref: '#/components/schemas/_common___ErrorResponseBase'
indices.create___500:
description: Internal server error when creating index (for example, plugin error, model not found).
content:
application/json:
schema:
$ref: '#/components/schemas/_common___ErrorResponseBase'
indices.data_streams_stats___200:
content:
application/json:
Expand Down Expand Up @@ -39416,7 +39431,6 @@ components:
oneOf:
- type: boolean
description: Whether to refresh the affected shards immediately.
x-protobuf-excluded: true
- type: string
const: 'false'
description: Do not refresh the affected shards.
Expand Down Expand Up @@ -46384,6 +46398,7 @@ components:
- rank_features
- scaled_float
- search_as_you_type
- semantic
- short
- text
- token_count
Expand Down Expand Up @@ -46877,6 +46892,7 @@ components:
- $ref: '#/components/schemas/_common.mapping___IntegerNumberProperty'
- $ref: '#/components/schemas/_common.mapping___LongNumberProperty'
- $ref: '#/components/schemas/_common.mapping___ScaledFloatNumberProperty'
- $ref: '#/components/schemas/_common.mapping___SemanticProperty'
- $ref: '#/components/schemas/_common.mapping___ShortNumberProperty'
- $ref: '#/components/schemas/_common.mapping___UnsignedLongNumberProperty'
- $ref: '#/components/schemas/_common.mapping___DateRangeProperty'
Expand Down Expand Up @@ -46994,6 +47010,68 @@ components:
- search_as_you_type
required:
- type
_common.mapping___SemanticChunkingStrategy:
type: object
properties:
algorithm:
type: string
parameters:
type: object
additionalProperties: {}
required:
- algorithm
_common.mapping___SemanticDenseEmbeddingConfig:
type: object
properties:
data_type:
type: string
mode:
type: string
compression_level:
type: string
method:
$ref: '#/components/schemas/_common.mapping___KnnVectorMethod'
_common.mapping___SemanticProperty:
x-version-added: '3.1'
type: object
properties:
type:
type: string
enum:
- semantic
raw_field_type:
type: string
model_id:
type: string
search_model_id:
type: string
semantic_info_field_name:
type: string
chunking:
oneOf:
- type: boolean
- type: array
items:
$ref: '#/components/schemas/_common.mapping___SemanticChunkingStrategy'
semantic_field_search_analyzer:
type: string
dense_embedding_config:
$ref: '#/components/schemas/_common.mapping___SemanticDenseEmbeddingConfig'
sparse_encoding_config:
$ref: '#/components/schemas/_common.mapping___SemanticSparseEncodingConfig'
skip_existing_embedding:
type: boolean
default: false
required:
- model_id
- type
_common.mapping___SemanticSparseEncodingConfig:
type: object
properties:
prune_type:
type: string
prune_ratio:
type: number
_common.mapping___ShortNumberProperty:
allOf:
- $ref: '#/components/schemas/_common.mapping___NumberPropertyBase'
Expand Down Expand Up @@ -48358,7 +48436,7 @@ components:
description: If `true`, match phrase queries are automatically created for multi-term synonyms.
type: boolean
cutoff_frequency:
deprecated: true
x-version-deprecated: '2.0'
type: number
format: float
fields:
Expand Down Expand Up @@ -48557,44 +48635,6 @@ components:
$ref: '#/components/schemas/_common___VersionNumber'
required:
- field
_common.query_dsl___PinnedDoc:
type: object
properties:
_id:
$ref: '#/components/schemas/_common___Id'
_index:
$ref: '#/components/schemas/_common___IndexName'
required:
- _id
- _index
_common.query_dsl___PinnedQuery:
allOf:
- $ref: '#/components/schemas/_common.query_dsl___QueryBase'
- allOf:
- type: object
properties:
organic:
$ref: '#/components/schemas/_common.query_dsl___QueryContainer'
required:
- organic
- type: object
properties:
ids:
description: |-
Document IDs listed in the order they are to appear in results.
Required if `docs` is not specified.
type: array
items:
$ref: '#/components/schemas/_common___Id'
docs:
description: |-
Documents listed in the order they are to appear in results.
Required if `ids` is not specified.
type: array
items:
$ref: '#/components/schemas/_common.query_dsl___PinnedDoc'
minProperties: 1
maxProperties: 1
_common.query_dsl___PrefixQuery:
oneOf:
- title: value
Expand Down Expand Up @@ -48763,8 +48803,6 @@ components:
$ref: '#/components/schemas/_common.query_dsl___ParentIdQuery'
percolate:
$ref: '#/components/schemas/_common.query_dsl___PercolateQuery'
pinned:
$ref: '#/components/schemas/_common.query_dsl___PinnedQuery'
prefix:
description: Returns documents that contain a specific prefix in a provided field.
type: object
Expand Down
Loading