public class MultiCollectorManager.Collectors extends Object implements Collector
| Modifier and Type | Class and Description |
|---|---|
class |
MultiCollectorManager.Collectors.LeafCollectors |
| Modifier and Type | Method and Description |
|---|---|
LeafCollector |
getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
boolean |
needsScores()
Indicates if document scores are needed by this collector.
|
public final LeafCollector getLeafCollector(LeafReaderContext context) throws IOException
Collectorcollector to collect the given context.getLeafCollector in interface Collectorcontext - next atomic reader contextIOExceptionpublic final boolean needsScores()
CollectorneedsScores in interface Collectortrue if scores are needed.Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.