QueryAggregation
public enum QueryAggregation : Codable, Equatable
An abstract aggregation type produced by Discovery to analyze the input provided.
-
Undocumented
Declaration
Swift
case queryAggregation(GenericQueryAggregation)
-
Undocumented
Declaration
Swift
case term(QueryTermAggregation)
-
Undocumented
Declaration
Swift
case histogram(QueryHistogramAggregation)
-
Undocumented
Declaration
Swift
case timeslice(QueryTimesliceAggregation)
-
Undocumented
Declaration
Swift
case nested(QueryNestedAggregation)
-
Undocumented
Declaration
Swift
case filter(QueryFilterAggregation)
-
Undocumented
Declaration
Swift
case min(QueryCalculationAggregation)
-
Undocumented
Declaration
Swift
case max(QueryCalculationAggregation)
-
Undocumented
Declaration
Swift
case sum(QueryCalculationAggregation)
-
Undocumented
Declaration
Swift
case average(QueryCalculationAggregation)
-
Undocumented
Declaration
Swift
case uniqueCount(QueryCalculationAggregation)
-
Undocumented
Declaration
Swift
case topHits(QueryTopHitsAggregation)
-
Undocumented
Declaration
Swift
case groupBy(QueryGroupByAggregation)
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws