Skip to content

Commit 59e5bfd

Browse files
lucy66hwgithub-actions[bot]
authored andcommitted
Protobuf schema change detected
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 4644141 commit 59e5bfd

2 files changed

Lines changed: 22 additions & 29 deletions

File tree

protos/generated/models/aggregated_models.proto

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2683,6 +2683,21 @@ message GlobalAggregation {
26832683
// Sub-aggregations for this bucket aggregation
26842684
map<string, AggregationContainer> aggs = 4;
26852685
}
2686+
message GlobalParams {
2687+
// Whether to pretty-format the returned JSON response.
2688+
optional bool pretty = 1;
2689+
2690+
// Whether to return human-readable values for statistics.
2691+
optional bool human = 2;
2692+
2693+
// Whether to include the stack trace of returned errors.
2694+
optional bool error_trace = 3;
2695+
2696+
// The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
2697+
optional string source = 4;
2698+
2699+
repeated string filter_path = 5;
2700+
}
26862701
message GoogleNormalizedDistanceHeuristic {
26872702
// Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.
26882703
optional bool background_is_superset = 1;
@@ -3221,6 +3236,8 @@ message HybridQuery {
32213236
repeated QueryContainer queries = 3;
32223237

32233238
optional int32 pagination_depth = 4;
3239+
3240+
optional QueryContainer filter = 5;
32243241
}
32253242
message IdsQuery {
32263243
// 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.

protos/generated/services/default_service.proto

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,8 @@ message BulkRequest {
4444
// 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`).
4545
optional WaitForActiveShards wait_for_active_shards = 12;
4646

47-
// Whether to pretty-format the returned JSON response.
48-
optional bool pretty = 13;
49-
50-
// Whether to return human-readable values for statistics.
51-
optional bool human = 14;
52-
53-
// Whether to include the stack trace of returned errors.
54-
optional bool error_trace = 15;
55-
56-
// The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
57-
optional string source = 16;
58-
59-
// 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 `-`.
60-
repeated string filter_path = 17;
47+
// Global query parameters
48+
optional GlobalParams global_params = 13 [json_name = "globalParams"];
6149
}
6250

6351
message BulkResponse {
@@ -162,22 +150,10 @@ message SearchRequest {
162150
// If `true`, aggregation and suggester names are be prefixed by their respective types in the response.
163151
optional bool typed_keys = 32;
164152

165-
// Whether to pretty-format the returned JSON response.
166-
optional bool pretty = 33;
167-
168-
// Whether to return human-readable values for statistics.
169-
optional bool human = 34;
170-
171-
// Whether to include the stack trace of returned errors.
172-
optional bool error_trace = 35;
173-
174-
// The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
175-
optional string source = 36;
176-
177-
// 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 `-`.
178-
repeated string filter_path = 37;
153+
// Global query parameters
154+
optional GlobalParams global_params = 33 [json_name = "globalParams"];
179155

180-
optional SearchRequestBody search_request_body = 38;
156+
optional SearchRequestBody search_request_body = 34;
181157
}
182158

183159
message SearchResponse {

0 commit comments

Comments
 (0)