There is no need for that .unlock call, just .close()
Otis
--- Gabe [EMAIL PROTECTED] wrote:
I am using Lucene 1.3 final and am having an error
that I can't seem to shake. Basically, I am updating a
Document in the index incrementally by calling an
IndexReader to remove the document. This
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
, March 15, 2004 1:53 PM
To: Lucene Users List
Subject: Re: java.io.IOException: Lock obtain timed out
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
;
}
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 the unlock call
;
}
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