Thanks Oliver. It works. Thanks, -Kalpesh Oliver Hutchison <[EMAIL PROTECTED]> wrote: Kalpesh,
Are you using sorting? If you are, then the patch attached to LUCENE-651 may help. It fixes a race condition that exists in the initialization of the FieldCache (which is used to accelerate sorting). Cheers, Ollie > -----Original Message----- > From: kalpesh patel [mailto:[EMAIL PROTECTED] > Sent: Saturday, 21 October 2006 12:30 PM > To: java-user@lucene.apache.org > Subject: Re: Poor performance "race condition" in FieldSortedHitQueue > > Hi, > > Sometimes when the user does a search on the same term at > the same time, there is a delay in the search and the memory > used considerably goes high. I was going through the lucene > user list and saw this discussion about race condition. > > > http://www.gossamer-threads.com/lists/lucene/java-user/38753?s earch_string=race%20condition > > What is the correct approach? Has it been fixed in the > nightly builds and if yes, can anyone please point me as to > which classes should I update to fix it. > > Any help would be highly appreciated. > > Thanks, > -Kalpesh > > > --------------------------------- > Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US > (and 30+ countries) for 2¢/min or less. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.