Module org.apache.lucene.core
Package org.apache.lucene.search
Class HitsThresholdChecker.GlobalHitsThresholdChecker
java.lang.Object
org.apache.lucene.search.HitsThresholdChecker
org.apache.lucene.search.HitsThresholdChecker.GlobalHitsThresholdChecker
- Enclosing class:
HitsThresholdChecker
Implementation of HitsThresholdChecker which allows global hit counting
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) boolean(package private) ScoreModeMethods inherited from class org.apache.lucene.search.HitsThresholdChecker
create, createShared, getHitsThreshold
-
Field Details
-
globalHitCount
-
-
Constructor Details
-
GlobalHitsThresholdChecker
GlobalHitsThresholdChecker(int totalHitsThreshold)
-
-
Method Details
-
incrementHitCount
void incrementHitCount()- Specified by:
incrementHitCountin classHitsThresholdChecker
-
isThresholdReached
boolean isThresholdReached()- Specified by:
isThresholdReachedin classHitsThresholdChecker
-
scoreMode
ScoreMode scoreMode()- Specified by:
scoreModein classHitsThresholdChecker
-