Re: svn commit: r603856 - in /lucene/java/trunk/contrib/benchmark: ./ src/java/org/apache/lucene/benchmark/byTask/feeds/

2007-12-15 Thread Doron Cohen
Thanks for the review Erik! LUCENE-1086 solved a problem for people trying to run the benchmark from e.g. Eclipse rather than by using ant, and specifying absolute path for the docs dir. Problem was that the benchmark Java code assumed that the path for docs dir is relative, under "work", and when

Re: Caching FuzzyQuery

2007-12-15 Thread Timo Nentwig
On Saturday 15 December 2007 00:17:10 Chris Hostetter wrote: > : Actually FuzzyQuery.rewrite() is pretty expensive so why not introduce a > : caching decorator? A WeakHashMap with key==IndexReader and value==LRU of > : BooleanQueries. > > Applications are certainly welcome to do this (there is noth

Re: A Searcher with timeout

2007-12-15 Thread Timo Nentwig
On Friday 14 December 2007 16:56:07 Sean Timm wrote: > See LUCENE-997 > https://issues.apache.org/jira/browse/LUCENE-997 I actually have had this problem (ran into a synchronized{} bottleneck in FSDirectory) and "fixed" it by introducing a pool of Searchers (each allocates memory and each holds

Re: Caching FuzzyQuery

2007-12-15 Thread Yonik Seeley
On Dec 15, 2007 2:23 PM, Timo Nentwig <[EMAIL PROTECTED]> wrote: > On Saturday 15 December 2007 00:17:10 Chris Hostetter wrote: > > : Actually FuzzyQuery.rewrite() is pretty expensive so why not introduce a > > : caching decorator? A WeakHashMap with key==IndexReader and value==LRU of > > : Boolean

[jira] Created: (LUCENE-1090) remove relative paths assumptions from benchmark code

2007-12-15 Thread Doron Cohen (JIRA)
remove relative paths assumptions from benchmark code - Key: LUCENE-1090 URL: https://issues.apache.org/jira/browse/LUCENE-1090 Project: Lucene - Java Issue Type: Improvement Comp

[jira] Updated: (LUCENE-1090) remove relative paths assumptions from benchmark code

2007-12-15 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doron Cohen updated LUCENE-1090: Description: Also see Eric comments in: http://www.nabble.com/forum/ViewPost.jtp?post=14347924&

[jira] Updated: (LUCENE-1090) remove relative paths assumptions from benchmark code

2007-12-15 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doron Cohen updated LUCENE-1090: Description: Also see Eric comments in: http://www.nabble.com/forum/ViewPost.jtp?post=14347924&

Re: Caching FuzzyQuery

2007-12-15 Thread Timo Nentwig
On Saturday 15 December 2007 20:48:38 Yonik Seeley wrote: > On Dec 15, 2007 2:23 PM, Timo Nentwig <[EMAIL PROTECTED]> wrote: > > On Saturday 15 December 2007 00:17:10 Chris Hostetter wrote: > > > : Actually FuzzyQuery.rewrite() is pretty expensive so why not > > > : introduce a caching decorator? A

[jira] Commented: (LUCENE-997) Add search timeout support to Lucene

2007-12-15 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552143 ] Doron Cohen commented on LUCENE-997: {quote} TimerThread provides a pseudo-clock service to all searching threads

[jira] Commented: (LUCENE-997) Add search timeout support to Lucene

2007-12-15 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552147 ] Michael McCandless commented on LUCENE-997: --- I think one benefit of a dedicated timer thread is not being a

[jira] Commented: (LUCENE-997) Add search timeout support to Lucene

2007-12-15 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552170 ] Doron Cohen commented on LUCENE-997: Nice, I didn't think of this. So with this understanding the timer thread

[jira] Commented: (LUCENE-997) Add search timeout support to Lucene

2007-12-15 Thread Nadav Har'El (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552174 ] Nadav Har'El commented on LUCENE-997: - I'd like to add my 2 cents on this issue. The more I use Lucene in variou