# Package org.apache.lucene.search.knn

package org.apache.lucene.search.knn
Classes related to vector search: knn and vector fields.

Related Packages
Package
Description
org.apache.lucene.search
Code to search indices.
org.apache.lucene.search.comparators
Comparators, used to compare hits so as to determine their sort order when collecting the top results with `TopFieldCollector`.
org.apache.lucene.search.similarities
This package contains the various ranking models that can be used in Lucene.
Class
Description
KnnCollectorManager
KnnCollectorManager responsible for creating `KnnCollector` instances.
MultiLeafKnnCollector
MultiLeafKnnCollector is a specific KnnCollector that can exchange the top collected results across segments through a shared global queue.
TopKnnCollectorManager
TopKnnCollectorManager responsible for creating `TopKnnCollector` instances.