Package-level declarations

Types

Link copied to clipboard

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.

Link copied to clipboard
abstract class KnnSearchStrategy

KnnSearchStrategy is a strategy for kNN search, providing additional search strategy configuration

Link copied to clipboard
class MultiLeafKnnCollector(k: Int, greediness: Float, interval: Int, globalSimilarityQueue: BlockingFloatHeap, subCollector: AbstractKnnCollector) : KnnCollector.Decorator

MultiLeafKnnCollector is a specific KnnCollector that can exchange the top collected results across segments through a shared global queue.

Link copied to clipboard

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