Skip to content

Commit 68a58db

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 7409810 commit 68a58db

1 file changed

Lines changed: 21 additions & 16 deletions

File tree

protos/generated/models/aggregated_models.proto

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2351,6 +2351,11 @@ message FieldSort {
23512351
// The numeric type to use for sorting.
23522352
optional FieldSortNumericType numeric_type = 6;
23532353

2354+
}
2355+
message FieldSortMap {
2356+
2357+
map<string, FieldSort> field_sort_map = 1;
2358+
23542359
}
23552360
enum FieldSortNumericType {
23562361

@@ -3090,7 +3095,6 @@ message GlobalParams {
30903095
// Whether to include the stack trace of returned errors.
30913096
optional bool error_trace = 2;
30923097

3093-
// 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 `-`.
30943098
repeated string filter_path = 3;
30953099

30963100
}
@@ -3107,7 +3111,7 @@ message HasChildQuery {
31073111

31083112
optional string x_name = 2;
31093113

3110-
// Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.
3114+
// Set to `true` to ignore an unmapped field and not match any documents for this query. Set to `false` to throw an exception if the field is not mapped.
31113115
optional bool ignore_unmapped = 3;
31123116

31133117
optional InnerHits inner_hits = 4;
@@ -3133,7 +3137,7 @@ message HasParentQuery {
31333137

31343138
optional string x_name = 2;
31353139

3136-
// Indicates whether to ignore an unmapped `parent_type` and not return any documents instead of an error. You can use this parameter to query multiple indexes that may not contain the `parent_type`.
3140+
// Set to `true` to ignore an unmapped field and not match any documents for this query. Set to `false` to throw an exception if the field is not mapped.
31373141
optional bool ignore_unmapped = 3;
31383142

31393143
optional InnerHits inner_hits = 4;
@@ -4049,6 +4053,11 @@ message KeyedPercentilesValue {
40494053

40504054
}
40514055
}
4056+
message KeyedPercentilesValueMap {
4057+
4058+
map<string, KeyedPercentilesValue> keyed_percentiles_value_map = 1;
4059+
4060+
}
40524061
message KnnQuery {
40534062

40544063
// 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.
@@ -4677,7 +4686,7 @@ message MoreLikeThisQuery {
46774686
// The routing value for the document.
46784687
optional string routing = 17;
46794688

4680-
optional StopWords stop_words = 18;
4689+
repeated string stop_words = 18;
46814690

46824691
// Used in combination with `like` to exclude documents that match a set of terms.
46834692
repeated Like unlike = 19;
@@ -5204,7 +5213,7 @@ message NestedQuery {
52045213

52055214
optional string x_name = 2;
52065215

5207-
// Indicates whether to ignore an unmapped path and not return any documents instead of an error.
5216+
// Set to `true` to ignore an unmapped field and not match any documents for this query. Set to `false` to throw an exception if the field is not mapped.
52085217
optional bool ignore_unmapped = 3;
52095218

52105219
optional InnerHits inner_hits = 4;
@@ -5228,7 +5237,7 @@ message NestedSortValue {
52285237
// How to sort hierarchical nested objects.
52295238
optional NestedSortValue nested = 3;
52305239

5231-
// The path to the nested objects.
5240+
// The path to a field or an array of paths. Some APIs support wildcards in the path, which allows you to select multiple fields.
52325241
string path = 4;
52335242

52345243
}
@@ -5436,7 +5445,7 @@ message ParentIdQuery {
54365445
// The unique identifier for a resource.
54375446
optional string id = 3;
54385447

5439-
// Indicates whether to ignore an unmapped `type` and not return any documents instead of an error.
5448+
// Set to `true` to ignore an unmapped field and not match any documents for this query. Set to `false` to throw an exception if the field is not mapped.
54405449
optional bool ignore_unmapped = 4;
54415450

54425451
// The name of a relation in a join field.
@@ -5474,7 +5483,7 @@ message Percentiles {
54745483

54755484
oneof percentiles {
54765485

5477-
map<string, KeyedPercentilesValue> keyed = 1;
5486+
KeyedPercentilesValueMap keyed = 1;
54785487

54795488
ArrayPercentilesItemArray array_percentiles_item_array = 2;
54805489

@@ -7199,7 +7208,7 @@ message SingleMetricAggregateBaseAllOfValue {
71997208
}
72007209
message SlicedScroll {
72017210

7202-
// The field to slice on.
7211+
// The path to a field or an array of paths. Some APIs support wildcards in the path, which allows you to select multiple fields.
72037212
optional string field = 1;
72047213

72057214
// The ID of the slice.
@@ -7225,9 +7234,9 @@ message SortCombinations {
72257234
// The path to a field or an array of paths. Some APIs support wildcards in the path, which allows you to select multiple fields.
72267235
string field = 1;
72277236

7228-
map<string, SortOrder> field_with_direction = 2;
7237+
StringMap field_with_direction = 2;
72297238

7230-
map<string, FieldSort> field_with_order = 3;
7239+
FieldSortMap field_with_order = 3;
72317240

72327241
SortOptions options = 4;
72337242

@@ -7275,8 +7284,7 @@ message SourceConfigParam {
72757284

72767285
bool fetch = 1;
72777286

7278-
// A comma-separated list or a wildcard expression specifying the fields to include in the statistics. Used as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.
7279-
repeatedstring fields = 2;
7287+
StringArray fields = 2;
72807288

72817289
}
72827290
}
@@ -7664,9 +7672,6 @@ message StatsBucketAggregation {
76647672

76657673
optional GapPolicy gap_policy = 5;
76667674

7667-
}
7668-
message StopWords {
7669-
76707675
}
76717676
message StoredScriptId {
76727677

0 commit comments

Comments
 (0)