QueryGroupByAggregation
public struct QueryGroupByAggregation : Codable, Equatable
Returns the top values for the field specified.
Enums with an associated value of QueryGroupByAggregation: QueryAggregation
-
The type of aggregation command used. Options include: term, histogram, timeslice, nested, filter, min, max, sum, average, unique_count, and top_hits.
Declaration
Swift
public var type: String
-
Array of top values for the field.
Declaration
Swift
public var results: [QueryGroupByAggregationResult]?