public class DocSetDelegateCollector extends DocSetCollector
| Modifier and Type | Field and Description |
|---|---|
(package private) org.apache.lucene.search.Collector |
collector |
base, bits, maxDoc, pos, scratch, smallSetSize| Constructor and Description |
|---|
DocSetDelegateCollector(int smallSetSize,
int maxDoc,
org.apache.lucene.search.Collector collector) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(int doc) |
DocSet |
getDocSet() |
void |
setNextReader(org.apache.lucene.index.IndexReader indexReader,
int docBase) |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
acceptsDocsOutOfOrderpublic DocSetDelegateCollector(int smallSetSize,
int maxDoc,
org.apache.lucene.search.Collector collector)
public void collect(int doc)
throws java.io.IOException
collect in class DocSetCollectorjava.io.IOExceptionpublic DocSet getDocSet()
getDocSet in class DocSetCollectorpublic void setScorer(org.apache.lucene.search.Scorer scorer)
throws java.io.IOException
setScorer in class DocSetCollectorjava.io.IOExceptionpublic void setNextReader(org.apache.lucene.index.IndexReader indexReader,
int docBase)
throws java.io.IOException
setNextReader in class DocSetCollectorjava.io.IOException