Package org.apache.lucene.search
Class CollectionTerminatedException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- org.apache.lucene.search.CollectionTerminatedException
 
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public final class CollectionTerminatedException extends java.lang.RuntimeExceptionThrow this exception inCollector.collect(int)to prematurely terminate collection of the current leaf.Note: IndexSearcher swallows this exception and never re-throws it. As a consequence, you should not catch it when calling
IndexSearcher.search(org.apache.lucene.search.Query, int)as it is unnecessary and might hide misuse of this exception.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description CollectionTerminatedException()Sole constructor. 
 -