TimeLimitingKnnCollectorManager

A KnnCollectorManager that collects results with a timeout.

Constructors

Link copied to clipboard
constructor(delegate: KnnCollectorManager, timeout: QueryTimeout?)

Functions

Link copied to clipboard

Get the configured QueryTimeout for terminating graph and exact searches.

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

Return a new KnnCollector instance.