From 09926e86ded971e7ab8f0b22296daab68aec297e Mon Sep 17 00:00:00 2001 From: lucy66hw <178352792+lucy66hw@users.noreply.github.com> Date: Fri, 14 Nov 2025 01:36:58 +0000 Subject: [PATCH] Protobuf schema change detected Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../generated/models/aggregated_models.proto | 19 ++++++++++- .../generated/services/default_service.proto | 34 +++---------------- 2 files changed, 23 insertions(+), 30 deletions(-) diff --git a/protos/generated/models/aggregated_models.proto b/protos/generated/models/aggregated_models.proto index 712c0ae05bd..a467a1ac683 100644 --- a/protos/generated/models/aggregated_models.proto +++ b/protos/generated/models/aggregated_models.proto @@ -2683,6 +2683,21 @@ message GlobalAggregation { // Sub-aggregations for this bucket aggregation map aggs = 4; } +message GlobalParams { + // Whether to pretty-format the returned JSON response. + optional bool pretty = 1; + + // Whether to return human-readable values for statistics. + optional bool human = 2; + + // Whether to include the stack trace of returned errors. + optional bool error_trace = 3; + + // The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. + optional string source = 4; + + repeated string filter_path = 5; +} message GoogleNormalizedDistanceHeuristic { // Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to. optional bool background_is_superset = 1; @@ -3114,7 +3129,7 @@ message HitsMetadataJsonValue { optional HitsMetadataMaxScore max_score = 3; } message HitsMetadataJsonValueAllOfHits { - optional ObjectMap source = 1 [json_name = "_source"]; + optional ObjectMap source = 1; } message HitsMetadataMaxScore { oneof hits_metadata_max_score { @@ -3221,6 +3236,8 @@ message HybridQuery { repeated QueryContainer queries = 3; optional int32 pagination_depth = 4; + + optional QueryContainer filter = 5; } message IdsQuery { // Floating point number used to decrease or increase the relevance scores of the query. Boost values are relative to the default value of 1.0. A boost value between 0 and 1.0 decreases the relevance score. A value greater than 1.0 increases the relevance score. diff --git a/protos/generated/services/default_service.proto b/protos/generated/services/default_service.proto index d60444fb036..baed1dc475a 100644 --- a/protos/generated/services/default_service.proto +++ b/protos/generated/services/default_service.proto @@ -44,20 +44,8 @@ message BulkRequest { // The number of shard copies that must be active before proceeding with the operation. Set to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`). optional WaitForActiveShards wait_for_active_shards = 12; - // Whether to pretty-format the returned JSON response. - optional bool pretty = 13; - - // Whether to return human-readable values for statistics. - optional bool human = 14; - - // Whether to include the stack trace of returned errors. - optional bool error_trace = 15; - - // The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. - optional string source = 16; - - // A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`. - repeated string filter_path = 17; + // Global query parameters + optional GlobalParams global_params = 13; } message BulkResponse { @@ -162,22 +150,10 @@ message SearchRequest { // If `true`, aggregation and suggester names are be prefixed by their respective types in the response. optional bool typed_keys = 32; - // Whether to pretty-format the returned JSON response. - optional bool pretty = 33; - - // Whether to return human-readable values for statistics. - optional bool human = 34; - - // Whether to include the stack trace of returned errors. - optional bool error_trace = 35; - - // The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. - optional string source = 36; - - // A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`. - repeated string filter_path = 37; + // Global query parameters + optional GlobalParams global_params = 33; - optional SearchRequestBody search_request_body = 38; + optional SearchRequestBody search_request_body = 34; } message SearchResponse {