Term

public struct Term : Codable, Equatable

Term.

Enums with an associated value of Term: QueryAggregation

  • The type of aggregation command used. For example: term, filter, max, min, etc.

    Declaration

    Swift

    public var type: String?
  • Array of aggregation results.

    Declaration

    Swift

    public var results: [AggregationResult]?
  • Number of matching results.

    Declaration

    Swift

    public var matchingResults: Int?
  • Aggregations returned by Discovery.

    Declaration

    Swift

    public var aggregations: [QueryAggregation]?
  • The field where the aggregation is located in the document.

    Declaration

    Swift

    public var field: String?
  • The number of terms identified.

    Declaration

    Swift

    public var count: Int?