Uses of Class org.apache.lucene.search.TopDocsCollector (Lucene 10.5.0 core API)
Description: use: package: org.apache.lucene.search, class: TopDocsCollector

# Uses of Class
org.apache.lucene.search.TopDocsCollector

Packages that use TopDocsCollector
Package
Description
org.apache.lucene.search
Code to search indices.

- ## Uses of TopDocsCollector in org.apache.lucene.search

  Subclasses of TopDocsCollector in org.apache.lucene.search
  Modifier and Type
  Class
  Description
  `class`
  `TopFieldCollector`
  A `Collector` that sorts by `SortField` using `FieldComparator`s.
  `class`
  `TopScoreDocCollector`
  A `Collector` implementation that collects the top-scoring hits, returning them as a `TopDocs`.