# 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`.