From 39686766e5ea2f96bfd6e39b5ce07d5d26e7aae6 Mon Sep 17 00:00:00 2001 From: "Mark J. Hoy" Date: Wed, 4 Jun 2025 11:58:59 -0400 Subject: [PATCH] update SparseVectorQuery pruning for GA --- output/openapi/elasticsearch-openapi.json | 1 - .../openapi/elasticsearch-serverless-openapi.json | 1 - output/schema/schema.json | 14 ++++---------- .../_types/query_dsl/SparseVectorQuery.ts | 8 ++++---- 4 files changed, 8 insertions(+), 16 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 0410cd1fe9..1fc8ab004e 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -54212,7 +54212,6 @@ }, "prune": { "description": "Whether to perform pruning, omitting the non-significant tokens from the query to improve query performance.\nIf prune is true but the pruning_config is not specified, pruning will occur but default values will be used.\nDefault: false", - "x-state": "Technical preview", "type": "boolean" }, "pruning_config": { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index e8c30802fb..0ab6c69cc3 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -33617,7 +33617,6 @@ }, "prune": { "description": "Whether to perform pruning, omitting the non-significant tokens from the query to improve query performance.\nIf prune is true but the pruning_config is not specified, pruning will occur but default values will be used.\nDefault: false", - "x-state": "Technical preview", "type": "boolean" }, "pruning_config": { diff --git a/output/schema/schema.json b/output/schema/schema.json index 8fc638fa09..de2a4a3308 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -91473,12 +91473,9 @@ }, { "availability": { - "serverless": { - "stability": "experimental" - }, + "serverless": {}, "stack": { - "since": "8.15.0", - "stability": "experimental" + "since": "8.15.0" } }, "containerProperty": true, @@ -91495,12 +91492,9 @@ }, { "availability": { - "serverless": { - "stability": "experimental" - }, + "serverless": {}, "stack": { - "since": "8.15.0", - "stability": "experimental" + "since": "8.15.0" } }, "containerProperty": true, diff --git a/specification/_types/query_dsl/SparseVectorQuery.ts b/specification/_types/query_dsl/SparseVectorQuery.ts index be8630ac74..8f16fefbac 100644 --- a/specification/_types/query_dsl/SparseVectorQuery.ts +++ b/specification/_types/query_dsl/SparseVectorQuery.ts @@ -61,8 +61,8 @@ export class SparseVectorQuery extends QueryBase { * Whether to perform pruning, omitting the non-significant tokens from the query to improve query performance. * If prune is true but the pruning_config is not specified, pruning will occur but default values will be used. * Default: false - * @availability stack since=8.15.0 stability=experimental - * @availability serverless stability=experimental + * @availability stack since=8.15.0 + * @availability serverless * @variant container_property */ prune?: boolean @@ -72,8 +72,8 @@ export class SparseVectorQuery extends QueryBase { * If enabled, this will omit non-significant tokens from the query in order to improve query performance. * This is only used if prune is set to true. * If prune is set to true but pruning_config is not specified, default values will be used. - * @availability stack since=8.15.0 stability=experimental - * @availability serverless stability=experimental + * @availability stack since=8.15.0 + * @availability serverless * @variant container_property */ pruning_config?: TokenPruningConfig