QueryNestedAggregation
public struct QueryNestedAggregation : Codable, Equatable
A restriction that alters the document set that is used for sub-aggregations it precedes to nested documents found in the field specified.
Enums with an associated value of QueryNestedAggregation: 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
-
The path to the document field to scope sub-aggregations to.
Declaration
Swift
public var path: String
-
Number of nested documents found in the specified field.
Declaration
Swift
public var matchingResults: Int
-
An array of sub-aggregations.
Declaration
Swift
public var aggregations: [QueryAggregation]?