IdWithScore

public class IdWithScore

Wraps the ID of a matching object and a score when using findIdsWithScores(offset:limit:).

  • id

    The object ID.

    Declaration

    Swift

    public let id: Id
  • The query score for the id.

    The query score indicates some quality measurement. E.g. for vector nearest neighbor searches, the score is the distance to the given vector.

    Declaration

    Swift

    public let score: Double