public static class

TimeLimitingCollector.TimeExceededException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.apache.lucene.search.TimeLimitingCollector.TimeExceededException

Class Overview

Thrown when elapsed search time exceeds allowed search time.

Summary

Public Methods
int getLastDocCollected()
Returns last doc (absolute doc id) that was collected when the search time exceeded.
long getTimeAllowed()
Returns allowed time (milliseconds).
long getTimeElapsed()
Returns elapsed time (milliseconds).
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Methods

public int getLastDocCollected ()

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

public long getTimeAllowed ()

Returns allowed time (milliseconds).

public long getTimeElapsed ()

Returns elapsed time (milliseconds).