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 class
MultiCollectorManager.Collectors.LeafCollectors
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeafCollector
getLeafCollector(LeafReaderContext context)
Create a newcollector
to collect the given context.boolean
needsScores()
Indicates if document scores are needed by this collector.
-
-
-
Method Detail
-
getLeafCollector
public final LeafCollector getLeafCollector(LeafReaderContext context) throws IOException
Description copied from interface:Collector
Create a newcollector
to collect the given context.- Specified by:
getLeafCollector
in interfaceCollector
- Parameters:
context
- next atomic reader context- Throws:
IOException
-
needsScores
public final boolean needsScores()
Description copied from interface:Collector
Indicates if document scores are needed by this collector.- Specified by:
needsScores
in interfaceCollector
- Returns:
true
if scores are needed.
-
-