org.apache.lucene.search.Collectorpublic class EarlyTerminatingCollector
extends org.apache.lucene.search.FilterCollector
Collector that early terminates collection after maxCountHits docs have been collected.| Modifier and Type | Method | Description |
|---|---|---|
org.apache.lucene.search.LeafCollector |
getLeafCollector(org.apache.lucene.index.LeafReaderContext context) |
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.IOException