public class FilterCollector extends FilterCollector
in
Constructor and Description |
---|
FilterCollector(DocSet filter,
Collector delegate) |
Modifier and Type | Method and Description |
---|---|
Collector |
getDelegate()
Returns the delegate collector
|
LeafCollector |
getLeafCollector(LeafReaderContext context)
Create a new
collector to collect the given context. |
int |
getMatches() |
needsScores, toString
public FilterCollector(DocSet filter, Collector delegate)
public LeafCollector getLeafCollector(LeafReaderContext context) throws IOException
Collector
collector
to collect the given context.getLeafCollector
in interface Collector
getLeafCollector
in class FilterCollector
context
- next atomic reader contextIOException
public int getMatches()
public Collector getDelegate()