Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Field and 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. |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
TotalHits(long value,
TotalHits.Relation relation)
Sole constructor.
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.