public class DocSetCollector extends SimpleCollector
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DocSetCollector.ExpandingIntArray |
| Constructor and Description |
|---|
DocSetCollector(int maxDoc) |
DocSetCollector(int smallSetSize,
int maxDoc) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(int doc) |
protected void |
doSetNextReader(LeafReaderContext context) |
DocSet |
getDocSet() |
ScoreMode |
scoreMode() |
void |
setScorer(Scorable scorer) |
int |
size()
The number of documents that have been collected
|
getLeafCollectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompetitiveIteratorpublic DocSetCollector(int maxDoc)
public DocSetCollector(int smallSetSize,
int maxDoc)
public void collect(int doc)
throws IOException
collect in interface LeafCollectorcollect in class SimpleCollectorIOExceptionpublic int size()
public DocSet getDocSet()
public void setScorer(Scorable scorer) throws IOException
setScorer in interface LeafCollectorsetScorer in class SimpleCollectorIOExceptionpublic ScoreMode scoreMode()
protected void doSetNextReader(LeafReaderContext context) throws IOException
doSetNextReader in class SimpleCollectorIOExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.