RE: IndexReader Pool

2002-07-12 Thread Halácsy Péter
hoops! you are right! i was on holiday last week but I can check the code on the weekend. peter > -Original Message- > From: Ilya Khandamirov [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 08, 2002 6:00 PM > To: 'Lucene Users List' > Subject: RE: IndexRea

RE: IndexReader Pool

2002-07-08 Thread Ilya Khandamirov
, 8. Juli 2002 16:28 To: 'Lucene Users List' Subject: RE: IndexReader Pool Deadlocks could be created if the order in which locks are obtained is not consistent. Note, though, that the locks are obtained in the same order each time throughout. (BTW: The inner lock is merely needed beca

RE: IndexReader Pool

2002-07-08 Thread Scott Ganyo
any suggestions for improvement! :) Scott > -Original Message- > From: Ilya Khandamirov [mailto:[EMAIL PROTECTED]] > Sent: Saturday, July 06, 2002 11:24 AM > To: 'Lucene Users List' > Subject: RE: IndexReader Pool > > > >You are correct. Actu

RE: IndexReader Pool

2002-07-06 Thread Ilya Khandamirov
>You are correct. Actually, there have been a few bug fixes since that was posted. >Here's a diff to an updated version: Well, i do not see your actual version of this file, but it looks like now you have two "synchronized" blocks: synchronized ( sync ) ... synchronized ( info ) This may pro

RE: IndexReader Pool

2002-07-05 Thread Scott Ganyo
synchronized (info) { info.notify(); } // notify waiters to try again } } } Hope it helps, Scott > -Original Message- > From: Ilya Khandamirov [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 05, 2002 12:13 PM > To: 'Lucene Users List&#x

RE: IndexReader Pool

2002-07-05 Thread Ilya Khandamirov
Hi Péter, > http://www.mail-archive.com/lucene-dev@jakarta.apache.org/msg00938.html Something wrong with the code or i'm missing something. WRITER_PATHS is always empty, i.e. there is no reuse, you always create a new object. Regards, Ilya -- To unsubscribe, e-mail:

RE: IndexReader Pool

2002-06-27 Thread Halácsy Péter
http://www.mail-archive.com/lucene-dev@jakarta.apache.org/msg00938.html > -Original Message- > From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 27, 2002 3:56 PM > To: Lucene Users List; [EMAIL PROTECTED] > Subject: Re: IndexReader Pool > > &

Re: IndexReader Pool

2002-06-27 Thread Otis Gospodnetic
I don't think Lucene contains anything to help you create this pool. However, if you look at Jakarta Commons project you will find a subproject there that allows you to create pools of any kind of Java object. You can probably use that to save yourself development and debug time. Otis --- "Nad