MigrationVerification

class MigrationVerification(val sampleSize: Int = 32, val topK: Int = 10, val minRecall: Double = 0.9, val using: String? = null)

How hard to check the copy before the alias is allowed to move.

Counts are always compared. The neighbour sample is what catches the failure counts cannot see: a copy where every point arrived and the new embedding ranks them differently enough that search is no longer the search anyone tested.

Constructors

Link copied to clipboard
constructor(sampleSize: Int = 32, topK: Int = 10, minRecall: Double = 0.9, using: String? = null)

Properties

Link copied to clipboard

the mean overlap that has to be reached, in 0.0..1.0. 1.0 demands the two collections agree exactly, which is right for a copy that does not re-embed and unreachable for one that does.

Link copied to clipboard

how many source points to re-query through both collections. 0 turns the neighbour check off and leaves only the count comparison, which is the right setting for a collection whose vectors the check cannot read (sparse or multi-vector) and the wrong one everywhere else.

Link copied to clipboard
val topK: Int

neighbours per query to compare.

Link copied to clipboard

which named vector to query with; null for a collection with a single unnamed vector.