Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions protos/generated/models/aggregated_models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ message CompositeAggregation {
optional int32 size = 6;

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

}
message CompositeAggregationSource {
Expand All @@ -1224,11 +1224,6 @@ message CompositeAggregationSource {

optional CompositeGeoTileGridAggregationSource geotile_grid = 4;

}
message CompositeAggregationSourceMap {

map<string, CompositeAggregationSource> composite_aggregation_source_map = 1;

}
message CompositeBucket {

Expand Down Expand Up @@ -2524,11 +2519,6 @@ message FiltersBucket {

int64 doc_count = 1;

}
message FloatMap {

map<string, float> float_map = 1;

}
message FormatMetricAggregationBase {

Expand Down Expand Up @@ -6602,7 +6592,7 @@ message SearchRequestBody {
optional TrackHits track_total_hits = 8;

// Boosts the `_score` of documents from specified indexes.
repeated FloatMap indices_boost = 9;
map<string, float> indices_boost = 9;

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

repeated SortOrderMap order = 15;
map<string, SortOrder> order = 15;

optional Script script = 16;

Expand Down