public class DocSetCollector extends SimpleCollector
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) |
getLeafCollector
public DocSetCollector(int maxDoc)
public DocSetCollector(int smallSetSize, int maxDoc)
public void collect(int doc) throws IOException
collect
in interface LeafCollector
collect
in class SimpleCollector
IOException
public DocSet getDocSet()
public void setScorer(Scorer scorer) throws IOException
setScorer
in interface LeafCollector
setScorer
in class SimpleCollector
IOException
public boolean needsScores()
protected void doSetNextReader(LeafReaderContext context) throws IOException
doSetNextReader
in class SimpleCollector
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.