RowCountSort specifies sorting based on the sub-aggregation results.
Data structure
message SubAggSort {
optional string sub_agg_name = 1;
optional SortOrder order = 2;
}
Parameter | Type | Required | Description |
sub_agg_name | string | Yes | The name of the sub-aggregation. |
order | Yes | The sorting method based on the sub-aggregation results. |