Issue Details (XML | Word | Printable)

Key: LUCENE-997
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Doron Cohen
Reporter: Sean Timm
Votes: 3
Watchers: 5
Operations

If you were logged in you would be able to see more operations.
Lucene - Java

Add search timeout support to Lucene

Created: 13/Sep/07 09:04 PM   Updated: 12/Feb/08 09:02 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Java Source File Licensed for inclusion in ASF works HitCollectorTimeoutDecorator.java 2008-01-01 12:23 PM Timo Nentwig 1 kB
Java Source File Licensed for inclusion in ASF works LuceneTimeoutTest.java 2008-01-25 08:12 PM Sean Timm 2 kB
Java Source File Licensed for inclusion in ASF works LuceneTimeoutTest.java 2007-09-13 09:11 PM Sean Timm 2 kB
Java Source File Licensed for inclusion in ASF works MyHitCollector.java 2008-01-01 12:24 PM Timo Nentwig 0.3 kB
Text File Licensed for inclusion in ASF works timeout.patch 2008-02-06 04:21 PM Doron Cohen 16 kB
Text File Licensed for inclusion in ASF works timeout.patch 2008-02-06 04:16 PM Doron Cohen 16 kB
Text File Licensed for inclusion in ASF works timeout.patch 2008-02-06 12:43 PM Doron Cohen 16 kB
Text File Licensed for inclusion in ASF works timeout.patch 2008-02-05 05:47 PM Sean Timm 10 kB
Text File Licensed for inclusion in ASF works timeout.patch 2008-01-29 07:18 PM Sean Timm 4 kB
Text File Licensed for inclusion in ASF works timeout.patch 2008-01-25 08:11 PM Sean Timm 5 kB
Text File Licensed for inclusion in ASF works timeout.patch 2007-10-19 07:41 PM Sean Timm 15 kB
Text File Licensed for inclusion in ASF works timeout.patch 2007-09-17 09:54 PM Sean Timm 14 kB
Java Source File Licensed for inclusion in ASF works TimerThreadTest.java 2008-01-25 08:34 PM Sean Timm 5 kB

Lucene Fields: Patch Available
Resolution Date: 12/Feb/08 09:02 PM


 Description  « Hide
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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.