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 java.lang.Object implements Collector
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classMultiCollectorManager.Collectors.LeafCollectors
-
Field Summary
Fields Modifier and Type Field Description private Collector[]collectors
-
Constructor Summary
Constructors Modifier Constructor Description privateCollectors()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeafCollectorgetLeafCollector(LeafReaderContext context)Create a newcollectorto collect the given context.ScoreModescoreMode()Indicates what features are required from the scorer.
-
-
-
Field Detail
-
collectors
private final Collector[] collectors
-
-
Method Detail
-
getLeafCollector
public final LeafCollector getLeafCollector(LeafReaderContext context) throws java.io.IOException
Description copied from interface:CollectorCreate a newcollectorto collect the given context.- Specified by:
getLeafCollectorin interfaceCollector- Parameters:
context- next atomic reader context- Throws:
java.io.IOException
-
-