Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TimeLimitingCollector.TimeExceededException

    Thrown when elapsed search time exceeds allowed search time.

    Inheritance
    System.Object
    System.Exception
    TimeLimitingCollector.TimeExceededException
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.GetType()
    System.Exception.ToString()
    System.Exception.Data
    System.Exception.HelpLink
    System.Exception.HResult
    System.Exception.InnerException
    System.Exception.Message
    System.Exception.Source
    System.Exception.StackTrace
    System.Exception.TargetSite
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    [Serializable]
    public class TimeExceededException : Exception, ISerializable, IRuntimeException

    Constructors

    | Improve this Doc View Source

    TimeExceededException(SerializationInfo, StreamingContext)

    Initializes a new instance of this class with serialized data.

    Declaration
    protected TimeExceededException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

    System.Runtime.Serialization.StreamingContext context

    The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

    Properties

    | Improve this Doc View Source

    LastDocCollected

    Returns last doc (absolute doc id) that was collected when the search time exceeded.

    Declaration
    public virtual int LastDocCollected { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    TimeAllowed

    Returns allowed time (milliseconds).

    Declaration
    public virtual long TimeAllowed { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    TimeElapsed

    Returns elapsed time (milliseconds).

    Declaration
    public virtual long TimeElapsed { get; }
    Property Value
    Type Description
    System.Int64

    Methods

    | Improve this Doc View Source

    GetObjectData(SerializationInfo, StreamingContext)

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info
    System.Runtime.Serialization.StreamingContext context
    Overrides
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

    Implements

    System.Runtime.Serialization.ISerializable

    Extension Methods

    ExceptionExtensions.GetSuppressed(Exception)
    ExceptionExtensions.GetSuppressedAsList(Exception)
    ExceptionExtensions.AddSuppressed(Exception, Exception)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.