public class EarlyTerminatingCollector
extends org.apache.lucene.search.FilterCollector
Collector that early terminates collection after maxCountHits docs have been collected.| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.LeafCollector |
getLeafCollector(org.apache.lucene.index.LeafReaderContext context) |
boolean |
terminatedEarly() |
public org.apache.lucene.search.LeafCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext context)
throws java.io.IOException
getLeafCollector in interface org.apache.lucene.search.CollectorgetLeafCollector in class org.apache.lucene.search.FilterCollectorjava.io.IOExceptionpublic boolean terminatedEarly()