The TimeLimitedCollector is used to timeout search requests that take longer than the maximum allowed search time limit. After this time is exceeded, the search thread is stopped by throwing a TimeExceeded Exception.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute("Use TimeLimitingCollector instead, which extends the new Collector. This class will be removed in 3.0.")]
public class TimeLimitedCollector : HitCollector
Visual Basic
<ObsoleteAttribute("Use TimeLimitingCollector instead, which extends the new Collector. This class will be removed in 3.0.")> _
Public Class TimeLimitedCollector _
	Inherits HitCollector
Visual C++
[ObsoleteAttribute(L"Use TimeLimitingCollector instead, which extends the new Collector. This class will be removed in 3.0.")]
public ref class TimeLimitedCollector : public HitCollector

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Search..::..HitCollector
    Lucene.Net.Search..::..TimeLimitedCollector

See Also