org.apache.lucene.search.Collector
public 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.Collector
getLeafCollector
in class org.apache.lucene.search.FilterCollector
java.io.IOException