Checks if this time limited collector is greedy in collecting the last hit. A non greedy collector, upon a timeout, would throw a {@link TimeExceededException} without allowing the wrapped collector to collect current doc. A greedy one would first allow the wrapped hit collector to collect current doc and only then throw a {@link TimeExceededException}.

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

Syntax

C#
public virtual bool IsGreedy()
Visual Basic
Public Overridable Function IsGreedy As Boolean
Visual C++
public:
virtual bool IsGreedy()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Search.TimeLimitingCollector.IsGreedy"]

See Also