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) |
|
boolean |
terminatedEarly() |
public org.apache.lucene.search.LeafCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext context)
throws java.io.IOException
getLeafCollector in class org.apache.lucene.search.FilterCollectorjava.io.IOExceptionpublic boolean terminatedEarly()