public class AllDocsCollector
extends org.apache.lucene.search.SimpleCollector
Constructor and Description |
---|
AllDocsCollector() |
Modifier and Type | Method and Description |
---|---|
void |
collect(int doc) |
void |
doSetNextReader(org.apache.lucene.index.LeafReaderContext context) |
java.util.List<java.lang.Integer> |
getDocIds() |
boolean |
needsScores() |
public void collect(int doc) throws java.io.IOException
collect
in interface org.apache.lucene.search.LeafCollector
collect
in class org.apache.lucene.search.SimpleCollector
java.io.IOException
public void doSetNextReader(org.apache.lucene.index.LeafReaderContext context) throws java.io.IOException
doSetNextReader
in class org.apache.lucene.search.SimpleCollector
java.io.IOException
public java.util.List<java.lang.Integer> getDocIds()
public boolean needsScores()