public class DocSetCollector extends SimpleCollector
| Constructor and Description |
|---|
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 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-2015 Apache Software Foundation. All Rights Reserved.