Uses of Enum
org.apache.lucene.search.TotalHits.Relation
-
Uses of TotalHits.Relation in org.apache.lucene.search
Modifier and TypeFieldDescriptionfinal TotalHits.Relation
TotalHits.relation
WhetherTotalHits.value
is the exact hit count, in which caseTotalHits.relation
is equal toEQUAL_TO
, or a lower bound of the total hit count, in which caseTotalHits.relation
is equal toGREATER_THAN_OR_EQUAL_TO
.protected TotalHits.Relation
TopDocsCollector.totalHitsRelation
WhetherTopDocsCollector.totalHits
is exact or a lower bound.Modifier and TypeMethodDescriptionstatic TotalHits.Relation
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.ModifierConstructorDescriptionTotalHits
(long value, TotalHits.Relation relation) Sole constructor.