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

- Packages that use TotalHits.Relation
  Package | Description
  --- | ---
  org.apache.lucene.search | Code to search indices.

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

    Fields in org.apache.lucene.search declared as TotalHits.Relation
    Modifier and Type | Field | Description
    --- | --- | ---
    `TotalHits.Relation` | TotalHits.`relation` | Whether `TotalHits.value` is the exact hit count, in which case `TotalHits.relation` is equal to `EQUAL_TO`, or a lower bound of the total hit count, in which case `TotalHits.relation` is equal to `GREATER_THAN_OR_EQUAL_TO`.
    `protected TotalHits.Relation` | TopDocsCollector.`totalHitsRelation` | Whether `TopDocsCollector.totalHits` is exact or a lower bound.

    Methods in org.apache.lucene.search that return TotalHits.Relation
    Modifier and Type | Method | Description
    --- | --- | ---
    `static TotalHits.Relation` | TotalHits.Relation.`valueOf​(String name)` | Returns the enum constant of this type with the specified name.
    `static TotalHits.Relation[]` | TotalHits.Relation.`values()` | Returns an array containing the constants of this enum type, in the order they are declared.

    Constructors in org.apache.lucene.search with parameters of type TotalHits.Relation
    Constructor | Description
    --- | ---
    `TotalHits​(long value, TotalHits.Relation relation)` | Sole constructor.