findBestEntryPoint
open override fun findBestEntryPoint(scorer: RandomVectorScorer, graph: HnswGraph, collector: KnnCollector): IntArray
Function to find the best entry point from which to search the zeroth graph layer.
Return
the best entry point, -1 indicates graph entry node not set, or visitation limit exceeded
Parameters
scorer
the scorer to compare the query with the nodes
graph
the HNSWGraph
collector
the knn result collector
Throws
IOException
When accessing the vector fails