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) |
acceptsDocsOutOfOrder
public DocSetDelegateCollector(int smallSetSize, int maxDoc, org.apache.lucene.search.Collector collector)
public void collect(int doc) throws java.io.IOException
collect
in class DocSetCollector
java.io.IOException
public DocSet getDocSet()
getDocSet
in class DocSetCollector
public void setScorer(org.apache.lucene.search.Scorer scorer) throws java.io.IOException
setScorer
in class DocSetCollector
java.io.IOException
public void setNextReader(org.apache.lucene.index.IndexReader indexReader, int docBase) throws java.io.IOException
setNextReader
in class DocSetCollector
java.io.IOException