ObjectWithScore

public class ObjectWithScore<T>

Wraps a matching object and a score when using findWithScores(offset:limit:).

  • The object.

    Declaration

    Swift

    public let object: T
  • The query score for the object.

    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