java.io.IOException: Lock obtain timed out

2004-03-15 Thread Gabe
: IndexReader reader=IndexReader.open(INDEX_DIR); Thanks for any help, Gabe __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com - To unsubscribe, e-mail

Re: java.io.IOException: Lock obtain timed out

2004-03-15 Thread Gabe
Otis, I only put the unlock call in because I had the error in the first place. Removing it, the IOException still occurs, when trying to instantiate the IndexWriter. Thanks, Gabe --- Otis Gospodnetic [EMAIL PROTECTED] wrote: There is no need for that .unlock call, just .close() Otis

RE: java.io.IOException: Lock obtain timed out

2004-03-15 Thread Gabe
all documents, I have had no problem. Gabe --- Nguyen, Tri (NIH/NLM/LHC) [EMAIL PROTECTED] wrote: Did you close your writer if an Exception occured? I had a similiar problem, but it was fixed when i close the writer in the finally block. Below is my original code (which generate

RE: java.io.IOException: Lock obtain timed out

2004-03-15 Thread Gabe
; } finally{ writer.close(); } } } -Original Message- From: Gabe [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 1:53 PM To: Lucene Users List Subject: Re: java.io.IOException: Lock obtain timed out Otis, I only put

Re: Ordering by a field value

2004-02-10 Thread Gabe
Thanks Otis. What will the names of the relevant files be and will I be able to use 1.3 final still (simply integrating the contributions into my own code) or would I have to go with the latest code from CVS? Thanks again, Gabe --- Otis Gospodnetic [EMAIL PROTECTED] wrote: There were some