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

- Packages that use TotalHits
  Package | Description
  --- | ---
  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
    Modifier and Type | Field and Description
    --- | ---
    `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.

Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.