SearchResultMetadata

public struct SearchResultMetadata : Codable, Equatable

An object containing search result metadata from the Discovery service.

  • The confidence score for the given result, as returned by the Discovery service.

    Declaration

    Swift

    public var confidence: Double?
  • An unbounded measure of the relevance of a particular result, dependent on the query and matching document. A higher score indicates a greater match to the query parameters.

    Declaration

    Swift

    public var score: Double?