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

Packages that use TotalHits
org.apache.lucene.search: Code to search indices.

### Uses of TotalHits in org.apache.lucene.search

Fields in org.apache.lucene.search declared as TotalHits
`TotalHits` TopDocs.`totalHits` The total number of hits for the query.

Constructors in org.apache.lucene.search with parameters of type TotalHits
Constructor and Description
`TopDocs(TotalHits totalHits, ScoreDoc[] scoreDocs)` Constructs a TopDocs.
`TopFieldDocs(TotalHits totalHits, ScoreDoc[] scoreDocs, SortField[] fields)` Creates one of these objects.