Skip to content

Commit 85b3541

Browse files
authored
Merge pull request #51 from lucy66hw/auto-pr-branch
[Automated PR]: Update generated protobuf schema (spec commit: 71bc4ac7568e4d6d6c6b63fd69199f8ad44a0066)
2 parents c1c5ede + 0b51622 commit 85b3541

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

protos/generated/models/aggregated_models.proto

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ message CompositeAggregation {
12111211
optional int32 size = 6;
12121212

12131213
// The value sources used to build composite buckets. Keys are returned in the order of the `sources` definition.
1214-
repeated CompositeAggregationSourceMap sources = 7;
1214+
map<string, CompositeAggregationSource> sources = 7;
12151215

12161216
}
12171217
message CompositeAggregationSource {
@@ -1224,11 +1224,6 @@ message CompositeAggregationSource {
12241224

12251225
optional CompositeGeoTileGridAggregationSource geotile_grid = 4;
12261226

1227-
}
1228-
message CompositeAggregationSourceMap {
1229-
1230-
map<string, CompositeAggregationSource> composite_aggregation_source_map = 1;
1231-
12321227
}
12331228
message CompositeBucket {
12341229

@@ -2524,11 +2519,6 @@ message FiltersBucket {
25242519

25252520
int64 doc_count = 1;
25262521

2527-
}
2528-
message FloatMap {
2529-
2530-
map<string, float> float_map = 1;
2531-
25322522
}
25332523
message FormatMetricAggregationBase {
25342524

@@ -6602,7 +6592,7 @@ message SearchRequestBody {
66026592
optional TrackHits track_total_hits = 8;
66036593

66046594
// Boosts the `_score` of documents from specified indexes.
6605-
repeated FloatMap indices_boost = 9;
6595+
map<string, float> indices_boost = 9;
66066596

66076597
// Array of wildcard (`*`) patterns. The request returns doc values for field names matching these patterns in the `hits.fields` property of the response.
66086598
repeated FieldAndFormat docvalue_fields = 10;
@@ -8150,7 +8140,7 @@ message TermsAggregation {
81508140
// Coerced unmapped fields into the specified type.
81518141
optional string value_type = 14;
81528142

8153-
repeated SortOrderMap order = 15;
8143+
map<string, SortOrder> order = 15;
81548144

81558145
optional Script script = 16;
81568146

0 commit comments

Comments
 (0)