Module org.apache.lucene.core
Package org.apache.lucene.search
Class HitsThresholdChecker.LocalHitsThresholdChecker
java.lang.Object
org.apache.lucene.search.HitsThresholdChecker
org.apache.lucene.search.HitsThresholdChecker.LocalHitsThresholdChecker
- Enclosing class:
HitsThresholdChecker
Default implementation of HitsThresholdChecker to be used for single threaded execution
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) boolean
(package private) ScoreMode
Methods inherited from class org.apache.lucene.search.HitsThresholdChecker
create, createShared, getHitsThreshold
-
Field Details
-
hitCount
private int hitCount
-
-
Constructor Details
-
LocalHitsThresholdChecker
LocalHitsThresholdChecker(int totalHitsThreshold)
-
-
Method Details
-
incrementHitCount
void incrementHitCount()- Specified by:
incrementHitCount
in classHitsThresholdChecker
-
isThresholdReached
boolean isThresholdReached()- Specified by:
isThresholdReached
in classHitsThresholdChecker
-
scoreMode
ScoreMode scoreMode()- Specified by:
scoreMode
in classHitsThresholdChecker
-