Class CollectionTerminatedException
Throw this exception in 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 any overload of Search(Weight, FieldDoc?, int, Sort, bool, bool, bool) as it is unnecessary and might hide misuse of this exception.Implements
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
[Serializable]
public sealed class CollectionTerminatedException : Exception, ISerializable
Constructors
CollectionTerminatedException()
Sole constructor.
Declaration
public CollectionTerminatedException()