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() |
boolean |
needsScores() |
void |
setScorer(Scorer scorer) |
getLeafCollectorpublic DocSetCollector(int maxDoc)
public DocSetCollector(int smallSetSize,
int maxDoc)
public void collect(int doc)
throws IOException
collect in interface LeafCollectorcollect in class SimpleCollectorIOExceptionpublic DocSet getDocSet()
public void setScorer(Scorer scorer) throws IOException
setScorer in interface LeafCollectorsetScorer in class SimpleCollectorIOExceptionpublic boolean needsScores()
protected void doSetNextReader(LeafReaderContext context) throws IOException
doSetNextReader in class SimpleCollectorIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.