collect

open override fun collect(docId: Int, similarity: Float): Boolean

Collect the provided docId and include in the result set.

Return

true if the vector is collected

Parameters

docId

of the vector to collect

similarity

its calculated similarity