Property | Type | Description | |
---|---|---|---|
DEFAULT_GREEDY | bool |
Method | Description | |
---|---|---|
Collect ( int doc ) : void |
Calls Collector.Collect(int) on the decorated Collector unless the allowed time has passed, in which case it throws an exception. if the time allowed has exceeded.
|
|
SetNextReader ( Lucene.Net.Index.IndexReader reader, int base_Renamed ) : void | ||
SetScorer ( Lucene.Net.Search.Scorer scorer ) : void | ||
TimeLimitingCollector ( |
Create a TimeLimitedCollector wrapper over another Collector with a specified timeout.
|
Method | Description | |
---|---|---|
InitBlock ( ) : void | ||
TimeLimitingCollector ( ) : System |
public SetNextReader ( Lucene.Net.Index.IndexReader reader, int base_Renamed ) : void | ||
reader | Lucene.Net.Index.IndexReader | |
base_Renamed | int | |
return | void |
public SetScorer ( Lucene.Net.Search.Scorer scorer ) : void | ||
scorer | Lucene.Net.Search.Scorer | |
return | void |
public TimeLimitingCollector ( |
||
collector | the wrapped |
|
timeAllowed | long | max time allowed for collecting hits after which |
return | System |