diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 121c265df7..a1b04ed1ff 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -75220,12 +75220,13 @@ }, "ef_construction": { "type": "number" + }, + "confidence_interval": { + "type": "number" } }, "required": [ - "type", - "m", - "ef_construction" + "type" ] }, "_types.mapping:FlattenedProperty": { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 1c9e9e556f..d67a07918c 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -49477,12 +49477,13 @@ }, "ef_construction": { "type": "number" + }, + "confidence_interval": { + "type": "number" } }, "required": [ - "type", - "m", - "ef_construction" + "type" ] }, "_types.mapping:FlattenedProperty": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index adbba972bf..17a06964ac 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -84616,7 +84616,7 @@ }, { "name": "m", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -84627,7 +84627,7 @@ }, { "name": "ef_construction", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -84635,9 +84635,20 @@ "namespace": "_types" } } + }, + { + "name": "confidence_interval", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "float", + "namespace": "_types" + } + } } ], - "specLocation": "_types/mapping/DenseVectorIndexOptions.ts#L22-L26" + "specLocation": "_types/mapping/DenseVectorIndexOptions.ts#L22-L27" }, { "inherits": { diff --git a/output/schema/schema.json b/output/schema/schema.json index d0b00631c3..e5eaf5d5ea 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -68895,7 +68895,7 @@ }, { "name": "m", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -68906,7 +68906,7 @@ }, { "name": "ef_construction", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -68914,9 +68914,20 @@ "namespace": "_types" } } + }, + { + "name": "confidence_interval", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "float", + "namespace": "_types" + } + } } ], - "specLocation": "_types/mapping/DenseVectorIndexOptions.ts#L22-L26" + "specLocation": "_types/mapping/DenseVectorIndexOptions.ts#L22-L27" }, { "inherits": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 993ef2ee0f..1a0bb06f1d 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -4997,8 +4997,9 @@ export interface MappingDateRangeProperty extends MappingRangePropertyBase { export interface MappingDenseVectorIndexOptions { type: string - m: integer - ef_construction: integer + m?: integer + ef_construction?: integer + confidence_interval?: float } export interface MappingDenseVectorProperty extends MappingPropertyBase { diff --git a/specification/_types/mapping/DenseVectorIndexOptions.ts b/specification/_types/mapping/DenseVectorIndexOptions.ts index 9876f53942..dd05a7ccd1 100644 --- a/specification/_types/mapping/DenseVectorIndexOptions.ts +++ b/specification/_types/mapping/DenseVectorIndexOptions.ts @@ -17,10 +17,11 @@ * under the License. */ -import { integer } from '@_types/Numeric' +import { float, integer } from '@_types/Numeric' export class DenseVectorIndexOptions { type: string - m: integer - ef_construction: integer + m?: integer + ef_construction?: integer + confidence_interval?: float }