Module org.apache.lucene.core
Package org.apache.lucene.search
Class TotalHitCountCollectorManager.LeafPartitionAwareTotalHitCountCollector
java.lang.Object
org.apache.lucene.search.TotalHitCountCollector
org.apache.lucene.search.TotalHitCountCollectorManager.LeafPartitionAwareTotalHitCountCollector
- All Implemented Interfaces:
Collector
- Enclosing class:
TotalHitCountCollectorManager
private static class TotalHitCountCollectorManager.LeafPartitionAwareTotalHitCountCollector
extends TotalHitCountCollector
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLeafPartitionAwareTotalHitCountCollector
(Map<Object, Future<Boolean>> earlyTerminatedMap) -
Method Summary
Modifier and TypeMethodDescriptiongetLeafCollector
(LeafReaderContext context) Create a newcollector
to collect the given context.Methods inherited from class org.apache.lucene.search.TotalHitCountCollector
createLeafCollector, getTotalHits, scoreMode, setWeight
-
Field Details
-
earlyTerminatedMap
-
-
Constructor Details
-
LeafPartitionAwareTotalHitCountCollector
-
-
Method Details
-
getLeafCollector
Description copied from interface:Collector
Create a newcollector
to collect the given context.- Specified by:
getLeafCollector
in interfaceCollector
- Overrides:
getLeafCollector
in classTotalHitCountCollector
- Parameters:
context
- next atomic reader context- Throws:
IOException
-