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.LeafCollector
collect
in class org.apache.lucene.search.SimpleCollector
IOException
public DocSet getDocSet()
public void setScorer(org.apache.lucene.search.Scorer scorer) throws IOException
setScorer
in interface org.apache.lucene.search.LeafCollector
setScorer
in class org.apache.lucene.search.SimpleCollector
IOException
public boolean needsScores()
protected void doSetNextReader(org.apache.lucene.index.LeafReaderContext context) throws IOException
doSetNextReader
in class org.apache.lucene.search.SimpleCollector
IOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.