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(IndexReader indexReader,
int docBase) |
void |
setScorer(Scorer scorer) |
public FilterCollector(DocSet filter, Collector delegate) throws IOException
IOExceptionpublic void setScorer(Scorer scorer) throws IOException
setScorer in class CollectorIOExceptionpublic void collect(int doc)
throws IOException
collect in class CollectorIOExceptionpublic void setNextReader(IndexReader indexReader, int docBase) throws IOException
setNextReader in class CollectorIOExceptionpublic boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder in class Collectorpublic int getMatches()
public Collector getDelegate()