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