QueryHistogramAggregationResult

public struct QueryHistogramAggregationResult : Codable, Equatable

Histogram numeric interval result.

  • key

    The value of the upper bound for the numeric segment.

    Declaration

    Swift

    public var key: Int
  • Number of documents with the specified key as the upper bound.

    Declaration

    Swift

    public var matchingResults: Int
  • An array of sub-aggregations.

    Declaration

    Swift

    public var aggregations: [QueryAggregation]?