Class CollectionTerminatedException
Throw this exception in Collect(Int32) 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, Int32, Sort, Boolean, Boolean, Boolean) as it is unnecessary and might hide misuse of this exception.
Inheritance
System.Object
CollectionTerminatedException
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class CollectionTerminatedException : Exception
Constructors
Name | Description |
---|---|
CollectionTerminatedException() | Sole constructor. |
CollectionTerminatedException(SerializationInfo, StreamingContext) | Initializes a new instance of this class with serialized data. |