public class DocSetCollector
extends org.apache.lucene.search.SimpleCollector
| Constructor and Description |
|---|
DocSetCollector(int smallSetSize,
int maxDoc) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(int doc) |
protected void |
doSetNextReader(org.apache.lucene.index.LeafReaderContext context) |
DocSet |
getDocSet() |
boolean |
needsScores() |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
public void collect(int doc)
throws IOException
collect in interface org.apache.lucene.search.LeafCollectorcollect in class org.apache.lucene.search.SimpleCollectorIOExceptionpublic DocSet getDocSet()
public void setScorer(org.apache.lucene.search.Scorer scorer)
throws IOException
setScorer in interface org.apache.lucene.search.LeafCollectorsetScorer in class org.apache.lucene.search.SimpleCollectorIOExceptionpublic boolean needsScores()
protected void doSetNextReader(org.apache.lucene.index.LeafReaderContext context)
throws IOException
doSetNextReader in class org.apache.lucene.search.SimpleCollectorIOExceptionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.