KnnCollectorManager

KnnCollectorManager responsible for creating KnnCollector instances. Useful to create KnnCollector instances that share global state across leaves, such a global queue of results collected so far.

Inheritors

Functions

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

Return a new KnnCollector instance.