collect

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

Parameters

k

the number of neighbors to collect

visitLimit

how many vector nodes the results are allowed to visit

searchStrategy

the search strategy to use