Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Patch Available
Description
This patch is based on Nutch-308.
This patch adds support for a maximum search time limit. After this time is exceeded, the search thread is stopped, partial results (if any) are returned and the total number of results is estimated.
This patch tries to minimize the overhead related to time-keeping by using a version of safe unsynchronized timer.
This was also discussed in an e-mail thread.
http://www.nabble.com/search-timeout-tf3410206.html#a9501029
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-2822 TimeLimitingCollector starts thread in static {} with no way to stop them
- Closed
-
LUCENE-2237 allow TimeLimitedCollector timer thread to be shutdown
- Resolved