Class TimeLimitingCollector

java.lang.Object
org.apache.lucene.search.Collector
org.apache.lucene.search.TimeLimitingCollector

public class TimeLimitingCollector extends Collector
The TimeLimitingCollector 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 TimeLimitingCollector.TimeExceededException.