Package org.apache.lucene.search
Class MultiCollectorManager.Collectors
- java.lang.Object
-
- org.apache.lucene.search.MultiCollectorManager.Collectors
-
- All Implemented Interfaces:
Collector
- Enclosing class:
- MultiCollectorManager
public class MultiCollectorManager.Collectors extends Object implements Collector
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classMultiCollectorManager.Collectors.LeafCollectors
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeafCollectorgetLeafCollector(LeafReaderContext context)Create a newcollectorto collect the given context.booleanneedsScores()Indicates if document scores are needed by this collector.
-
-
-
Method Detail
-
getLeafCollector
public final LeafCollector getLeafCollector(LeafReaderContext context) throws IOException
Description copied from interface:CollectorCreate a newcollectorto collect the given context.- Specified by:
getLeafCollectorin interfaceCollector- Parameters:
context- next atomic reader context- Throws:
IOException
-
needsScores
public final boolean needsScores()
Description copied from interface:CollectorIndicates if document scores are needed by this collector.- Specified by:
needsScoresin interfaceCollector- Returns:
trueif scores are needed.
-
-