public static final class Lucene.EarlyTerminatingCollector
extends org.apache.lucene.search.Collector
Lucene.EarlyTerminationException
when count of matched documents has reached maxCountHits| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsDocsOutOfOrder() |
void |
collect(int doc) |
int |
count() |
boolean |
exists() |
void |
reset() |
void |
setNextReader(org.apache.lucene.index.AtomicReaderContext atomicReaderContext) |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
public void reset()
public int count()
public boolean exists()
public void setScorer(org.apache.lucene.search.Scorer scorer)
throws IOException
setScorer in class org.apache.lucene.search.CollectorIOExceptionpublic void collect(int doc)
throws IOException
collect in class org.apache.lucene.search.CollectorIOExceptionpublic void setNextReader(org.apache.lucene.index.AtomicReaderContext atomicReaderContext)
throws IOException
setNextReader in class org.apache.lucene.search.CollectorIOExceptionpublic boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder in class org.apache.lucene.search.CollectorCopyright © 2009–2016. All rights reserved.