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 Collector
IOException
public void collect(int doc) throws IOException
collect
in class Collector
IOException
public void setNextReader(AtomicReaderContext context) throws IOException
setNextReader
in class Collector
IOException
public boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder
in class Collector
public int getMatches()
public Collector getDelegate()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.