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
private static class HitsThresholdChecker.LocalHitsThresholdChecker extends HitsThresholdChecker
Default implementation of HitsThresholdChecker to be used for single threaded execution
-
-
Field Summary
Fields Modifier and Type Field Description private inthitCount
-
Constructor Summary
Constructors Constructor Description LocalHitsThresholdChecker(int totalHitsThreshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidincrementHitCount()(package private) booleanisThresholdReached()(package private) ScoreModescoreMode()-
Methods inherited from class org.apache.lucene.search.HitsThresholdChecker
create, createShared, getHitsThreshold
-
-
-
-
Method Detail
-
incrementHitCount
void incrementHitCount()
- Specified by:
incrementHitCountin classHitsThresholdChecker
-
isThresholdReached
boolean isThresholdReached()
- Specified by:
isThresholdReachedin classHitsThresholdChecker
-
scoreMode
ScoreMode scoreMode()
- Specified by:
scoreModein classHitsThresholdChecker
-
-