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
Sean Timm made changes - 13/Sep/07 09:09 PM
Field Original Value New Value
Attachment timeout.patch [ 12365768 ]
Sean Timm made changes - 13/Sep/07 09:11 PM
Attachment LuceneTimeoutTest.java [ 12365769 ]
Sean Timm made changes - 17/Sep/07 09:54 PM
Attachment timeout.patch [ 12366044 ]
Sean Timm made changes - 17/Sep/07 10:06 PM
Attachment timeout.patch [ 12365768 ]
Sean Timm made changes - 19/Oct/07 07:41 PM
Attachment timeout.patch [ 12368042 ]
Timo Nentwig made changes - 01/Jan/08 12:23 PM
Attachment HitCollectorTimeoutDecorator.java [ 12372376 ]
Timo Nentwig made changes - 01/Jan/08 12:24 PM
Attachment MyHitCollector.java [ 12372377 ]
Sean Timm made changes - 25/Jan/08 08:02 PM
Attachment timeout.patch [ 12374079 ]
Sean Timm made changes - 25/Jan/08 08:04 PM
Attachment timeout.patch [ 12374079 ]
Sean Timm made changes - 25/Jan/08 08:11 PM
Attachment timeout.patch [ 12374080 ]
Sean Timm made changes - 25/Jan/08 08:12 PM
Attachment LuceneTimeoutTest.java [ 12374081 ]
Sean Timm made changes - 25/Jan/08 08:34 PM
Attachment TimerThreadTest.java [ 12374083 ]
Sean Timm made changes - 29/Jan/08 07:18 PM
Attachment timeout.patch [ 12374283 ]
Sean Timm made changes - 05/Feb/08 05:47 PM
Attachment timeout.patch [ 12374801 ]
Doron Cohen made changes - 06/Feb/08 12:43 PM
Attachment timeout.patch [ 12374858 ]
Doron Cohen made changes - 06/Feb/08 04:16 PM
Attachment timeout.patch [ 12374879 ]
Doron Cohen made changes - 06/Feb/08 04:21 PM
Attachment timeout.patch [ 12374880 ]
Doron Cohen made changes - 12/Feb/08 07:02 PM
Assignee Doron Cohen [ doronc ]
Doron Cohen made changes - 12/Feb/08 09:02 PM
Resolution Fixed [ 1 ]
Lucene Fields [New, Patch Available] [Patch Available]
Status Open [ 1 ] Resolved [ 5 ]