Fork me on GitHub
  • API

    Show / Hide Table of Contents

    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.
    Inheritance
    object
    Exception
    CollectionTerminatedException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    [Serializable]
    public sealed class CollectionTerminatedException : Exception, ISerializable

    Constructors

    CollectionTerminatedException()

    Sole constructor.

    Declaration
    public CollectionTerminatedException()

    Implements

    ISerializable

    Extension Methods

    ExceptionExtensions.AddSuppressed(Exception, Exception)
    ExceptionExtensions.GetSuppressed(Exception)
    ExceptionExtensions.GetSuppressedAsList(Exception)
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.