From 290b4c5892659cd264281cfaef8794f3a71ae7da Mon Sep 17 00:00:00 2001 From: Dimitris Rempapis Date: Tue, 1 Jul 2025 11:14:44 +0300 Subject: [PATCH 1/2] update specification for recent_search_load --- output/openapi/elasticsearch-openapi.json | 5 ++++- output/schema/schema.json | 21 ++++++++++++++++----- output/typescript/types.ts | 1 + specification/_types/Stats.ts | 1 + 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 85bdfc30b9..f7c8b51b45 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -81212,7 +81212,7 @@ "write_load": { "type": "number" }, - "recent_write_load": { + "recent_writ fe_load": { "type": "number" }, "peak_write_load": { @@ -81429,6 +81429,9 @@ "suggest_total": { "type": "number" }, + "recent_search_load": { + "type": "number" + }, "groups": { "type": "object", "additionalProperties": { diff --git a/output/schema/schema.json b/output/schema/schema.json index 59f66e7f3e..c426e05520 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -56134,6 +56134,17 @@ } } }, + { + "name": "recent_search_load", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "double", + "namespace": "_types" + } + } + }, { "name": "groups", "required": false, @@ -56157,7 +56168,7 @@ } } ], - "specLocation": "_types/Stats.ts#L257-L276" + "specLocation": "_types/Stats.ts#L257-L277" }, { "kind": "interface", @@ -56514,7 +56525,7 @@ } } ], - "specLocation": "_types/Stats.ts#L278-L371" + "specLocation": "_types/Stats.ts#L279-L372" }, { "kind": "type_alias", @@ -57192,7 +57203,7 @@ } } ], - "specLocation": "_types/Stats.ts#L373-L400" + "specLocation": "_types/Stats.ts#L374-L401" }, { "kind": "interface", @@ -57772,7 +57783,7 @@ } } ], - "specLocation": "_types/Stats.ts#L402-L410" + "specLocation": "_types/Stats.ts#L403-L411" }, { "kind": "type_alias", @@ -58075,7 +58086,7 @@ } } ], - "specLocation": "_types/Stats.ts#L412-L417" + "specLocation": "_types/Stats.ts#L413-L418" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 7f56ba8295..b8dc407502 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -2832,6 +2832,7 @@ export interface SearchStats { suggest_time?: Duration suggest_time_in_millis: DurationValue suggest_total: long + recent_search_load?: double groups?: Record } diff --git a/specification/_types/Stats.ts b/specification/_types/Stats.ts index 56d8cd631f..5cea123f56 100644 --- a/specification/_types/Stats.ts +++ b/specification/_types/Stats.ts @@ -272,6 +272,7 @@ export class SearchStats { suggest_time?: Duration suggest_time_in_millis: DurationValue suggest_total: long + recent_search_load?: double groups?: Dictionary } From 03a25e44f292cf1bb2bf31d56ece654179278835 Mon Sep 17 00:00:00 2001 From: Dimitris Rempapis Date: Tue, 1 Jul 2025 11:19:40 +0300 Subject: [PATCH 2/2] fix typo --- output/openapi/elasticsearch-openapi.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index f7c8b51b45..3a46d6060d 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -81212,7 +81212,7 @@ "write_load": { "type": "number" }, - "recent_writ fe_load": { + "recent_write_load": { "type": "number" }, "peak_write_load": {