Skip to content

Commit dbb962a

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 05cb635 commit dbb962a

2 files changed

Lines changed: 31 additions & 34 deletions

File tree

protos/generated/models/aggregated_models.proto

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1709,16 +1709,7 @@ message Explanation {
17091709

17101710
repeated Explanation details = 2;
17111711

1712-
ExplanationValue value = 3;
1713-
}
1714-
message ExplanationValue {
1715-
optional int32 int32 = 1;
1716-
1717-
optional int64 int64 = 2;
1718-
1719-
optional float float = 3;
1720-
1721-
optional double double = 4;
1712+
float value = 3;
17221713
}
17231714
message ExtendedBounds {
17241715
ObjectMap max = 1;
@@ -2058,9 +2049,6 @@ message FieldSort {
20582049

20592050
// The numeric type to use for sorting.
20602051
optional FieldSortNumericType numeric_type = 6;
2061-
2062-
// The format to use for the sort values.
2063-
optional string format = 7;
20642052
}
20652053
message FieldSortMap {
20662054
map<string, FieldSort> field_sort_map = 1;
@@ -2137,9 +2125,11 @@ enum FieldType {
21372125
message FieldValue {
21382126
optional bool bool = 1;
21392127

2140-
optional GeneralNumber general_number = 2;
2128+
optional NullValue null_value = 2;
2129+
2130+
optional GeneralNumber general_number = 3;
21412131

2142-
optional string string = 3;
2132+
optional string string = 4;
21432133
}
21442134
message FieldValueArray {
21452135
repeated FieldValue field_value_array = 1;
@@ -3056,6 +3046,8 @@ message Hit {
30563046
optional int64 x_primary_term = 19;
30573047

30583048
optional int64 x_version = 20;
3049+
3050+
optional ObjectMap meta_fields = 21;
30593051
}
30603052
message HitXScore {
30613053
oneof hit_x_score {
@@ -3114,6 +3106,8 @@ message HitsMetadataHitsInner {
31143106
optional int64 x_primary_term = 19;
31153107

31163108
optional int64 x_version = 20;
3109+
3110+
optional ObjectMap meta_fields = 21;
31173111
}
31183112
message HitsMetadataJsonValue {
31193113
optional HitsMetadataTotal total = 1;
@@ -6681,13 +6675,6 @@ message StringTermsBucket {
66816675

66826676
string key = 3;
66836677
}
6684-
message StringifiedInteger {
6685-
oneof stringified_integer {
6686-
int32 int32 = 1;
6687-
6688-
string string = 2;
6689-
}
6690-
}
66916678
message StupidBackoffSmoothingModel {
66926679
double discount = 1;
66936680
}
@@ -7382,7 +7369,7 @@ enum WaitForActiveShardOptions {
73827369
message WaitForActiveShards {
73837370
oneof wait_for_active_shards {
73847371
// The number of active shards to wait for.
7385-
StringifiedInteger count = 1;
7372+
int32 count = 1;
73867373

73877374
// Determines how many shards to wait for.
73887375
WaitForActiveShardOptions option = 2;

protos/generated/services/default_service.proto

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ message BulkRequest {
4848
optional GlobalParams global_params = 13;
4949
}
5050

51+
message BulkResponse {
52+
oneof response {
53+
BulkResponse bulk_response_200 = 1;
54+
}
55+
}
5156
message SearchRequest {
5257
// A comma-separated list of data streams, indexes, and aliases to search. Supports wildcards (`*`). To search all data streams and indexes, omit this parameter or use `*` or `_all`.
5358
repeated string index = 1;
@@ -124,29 +129,34 @@ message SearchRequest {
124129
// Period to retain the search context for scrolling. See Scroll search results. By default, this value cannot exceed `1d` (24 hours). You can change this limit using the `search.max_keep_alive` cluster-level setting.
125130
optional string scroll = 25;
126131

127-
// Customizable sequence of processing stages applied to search queries.
128-
optional string search_pipeline = 26;
129-
130132
// How distributed term frequencies are calculated for relevance scoring.
131-
optional SearchType search_type = 27;
133+
optional SearchType search_type = 26;
132134

133135
// Specifies which field to use for suggestions.
134-
optional string suggest_field = 28;
136+
optional string suggest_field = 27;
135137

136138
// Specifies the suggest mode. This parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.
137-
optional SuggestMode suggest_mode = 29;
139+
optional SuggestMode suggest_mode = 28;
138140

139141
// Number of suggestions to return. This parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.
140-
optional int32 suggest_size = 30;
142+
optional int32 suggest_size = 29;
141143

142144
// The source text for which the suggestions should be returned. This parameter can only be used when the `suggest_field` and `suggest_text` query string parameters are specified.
143-
optional string suggest_text = 31;
145+
optional string suggest_text = 30;
144146

145147
// If `true`, aggregation and suggester names are be prefixed by their respective types in the response.
146-
optional bool typed_keys = 32;
148+
optional bool typed_keys = 31;
147149

148150
// Global query parameters
149-
optional GlobalParams global_params = 33;
151+
optional GlobalParams global_params = 32;
152+
153+
optional SearchRequestBody search_request_body = 33;
154+
}
150155

151-
optional SearchRequestBody search_request_body = 34;
156+
message SearchResponse {
157+
oneof response {
158+
SearchResponse search_response_200 = 1;
159+
ErrorResponseBase error_response_base_400 = 2;
160+
ErrorResponseBase error_response_base_404 = 3;
161+
}
152162
}

0 commit comments

Comments
 (0)