public class DocSetCollector extends Collector
Constructor and Description |
---|
DocSetCollector(int smallSetSize,
int maxDoc) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsDocsOutOfOrder() |
void |
collect(int doc) |
DocSet |
getDocSet() |
void |
setNextReader(IndexReader indexReader,
int docBase) |
void |
setScorer(Scorer scorer) |
public void collect(int doc) throws IOException
collect
in class Collector
IOException
public DocSet getDocSet()
public void setScorer(Scorer scorer) throws IOException
setScorer
in class Collector
IOException
public void setNextReader(IndexReader indexReader, int docBase) throws IOException
setNextReader
in class Collector
IOException
public boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder
in class Collector