# Uses of Class
org.apache.lucene.search.KnnCollector.Decorator

Packages that use KnnCollector.Decorator
Package
Description
org.apache.lucene.search
Code to search indices.
org.apache.lucene.search.knn
Classes related to vector search: knn and vector fields.
org.apache.lucene.util.hnsw
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.

- ## Uses of KnnCollector.Decorator in org.apache.lucene.search

  Subclasses of KnnCollector.Decorator in org.apache.lucene.search
  Modifier and Type
  Class
  Description
  `class`
  `HnswQueueSaturationCollector`
  A `KnnCollector.Decorator` that early exits when nearest neighbor queue keeps saturating beyond a 'patience' parameter.

- ## Uses of KnnCollector.Decorator in org.apache.lucene.search.knn

  Subclasses of KnnCollector.Decorator in org.apache.lucene.search.knn
  Modifier and Type
  Class
  Description
  `final class`
  `MultiLeafKnnCollector`
  MultiLeafKnnCollector is a specific KnnCollector that can exchange the top collected results across segments through a shared global queue.

- ## Uses of KnnCollector.Decorator in org.apache.lucene.util.hnsw

  Subclasses of KnnCollector.Decorator in org.apache.lucene.util.hnsw
  Modifier and Type
  Class
  Description
  `final class`
  `OrdinalTranslatedKnnCollector`
  Wraps a provided KnnCollector object, translating the provided vectorId ordinal to a documentId