TopKnnCollectorManager

TopKnnCollectorManager responsible for creating TopKnnCollector instances. When concurrency is supported, the BlockingFloatHeap is used to track the global top scores collected across all leaves.

Constructors

Link copied to clipboard
constructor(k: Int, indexSearcher: IndexSearcher)

Functions

Link copied to clipboard
open override fun newCollector(visitedLimit: Int, searchStrategy: KnnSearchStrategy, context: LeafReaderContext): KnnCollector

Return a new TopKnnCollector instance.