public class FilterCollector extends Collector
| Constructor and Description |
|---|
FilterCollector(DocSet filter,
Collector delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsDocsOutOfOrder() |
void |
collect(int doc) |
Collector |
getDelegate()
Returns the delegate collector
|
int |
getMatches() |
void |
setNextReader(AtomicReaderContext context) |
void |
setScorer(Scorer scorer) |
public void setScorer(Scorer scorer) throws IOException
setScorer in class CollectorIOExceptionpublic void collect(int doc)
throws IOException
collect in class CollectorIOExceptionpublic void setNextReader(AtomicReaderContext context) throws IOException
setNextReader in class CollectorIOExceptionpublic boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder in class Collectorpublic int getMatches()
public Collector getDelegate()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.