diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index c0dee4fb7e..ad6386995c 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -36117,10 +36117,6 @@ "description": "The number of nearest neighbor candidates to consider per shard", "type": "number" }, - "boost": { - "description": "Boost value to apply to kNN scores", - "type": "number" - }, "filter": { "description": "Filters for the kNN search query", "oneOf": [ diff --git a/output/schema/schema.json b/output/schema/schema.json index 72d59a4d12..ad82afa074 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -44590,18 +44590,6 @@ } } }, - { - "description": "Boost value to apply to kNN scores", - "name": "boost", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "float", - "namespace": "_types" - } - } - }, { "description": "Filters for the kNN search query", "name": "filter", @@ -44642,7 +44630,7 @@ } } ], - "specLocation": "_types/Knn.ts#L54-L69" + "specLocation": "_types/Knn.ts#L54-L67" }, { "kind": "interface", @@ -46120,7 +46108,7 @@ } } ], - "specLocation": "_types/Knn.ts#L71-L74", + "specLocation": "_types/Knn.ts#L69-L72", "variants": { "kind": "container" } @@ -48367,7 +48355,7 @@ } } ], - "specLocation": "_types/Knn.ts#L76-L79" + "specLocation": "_types/Knn.ts#L74-L77" }, { "kind": "enum", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 435bb52758..720eea3d87 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -66,7 +66,6 @@ "Request: query parameter 'scroll' does not exist in the json spec", "Request: query parameter 'rest_total_hits_as_int' does not exist in the json spec", "interface definition _types:QueryVectorBuilder - Property text_embedding is a single-variant and must be required", - "interface definition _types:KnnQuery - Property 'boost' is already defined in an ancestor class", "type_alias definition _spec_utils:PipeSeparatedFlags / union_of / instance_of - No type definition for '_spec_utils:T'" ], "response": [] diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 93ec439e16..29baecaad5 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -2362,7 +2362,6 @@ export interface KnnQuery extends QueryDslQueryBase { query_vector?: QueryVector query_vector_builder?: QueryVectorBuilder num_candidates?: long - boost?: float filter?: QueryDslQueryContainer | QueryDslQueryContainer[] similarity?: float } diff --git a/specification/_types/Knn.ts b/specification/_types/Knn.ts index 60562df555..20571d369a 100644 --- a/specification/_types/Knn.ts +++ b/specification/_types/Knn.ts @@ -60,8 +60,6 @@ export interface KnnQuery extends QueryBase { query_vector_builder?: QueryVectorBuilder /** The number of nearest neighbor candidates to consider per shard */ num_candidates?: long - /** Boost value to apply to kNN scores */ - boost?: float /** Filters for the kNN search query */ filter?: QueryContainer | QueryContainer[] /** The minimum similarity for a vector to be considered a match */