public final class CollectionTerminatedException extends RuntimeException
Collector.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.
Constructor and Description |
---|
CollectionTerminatedException()
Sole constructor.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.