Re: Remove document fails

2005-03-03 Thread Mauro Verrocchio
Sorry! I didn't know that: just got a fast look at the methods... Thanks anyway: this would be useful to remeber :) Mauro. On Thu, 03 Mar 2005 11:58:39 +0200, Volodymyr Bychkoviak <[EMAIL PROTECTED]> wrote: > If you read javadoc carefully you can read that unlock should be used > only for recover

Re: Remove document fails

2005-03-03 Thread Gusenbauer Stefan
Volodymyr Bychkoviak wrote: If you read javadoc carefully you can read that unlock should be used only for recovery reason. Or you can damage your index. Mauro Verrocchio wrote: Try IndexDirectory.unlock(directory). It's in the javadoc. Cheers, Mauro. On Wed, 02 Mar 2005 22:40:27 +0100, Gusenbaue

Re: Remove document fails

2005-03-03 Thread Volodymyr Bychkoviak
If you read javadoc carefully you can read that unlock should be used only for recovery reason. Or you can damage your index. Mauro Verrocchio wrote: Try IndexDirectory.unlock(directory). It's in the javadoc. Cheers, Mauro. On Wed, 02 Mar 2005 22:40:27 +0100, Gusenbauer Stefan <[EMAIL PROTECTED]>

Re: Remove document fails

2005-03-02 Thread Mauro Verrocchio
Try IndexDirectory.unlock(directory). It's in the javadoc. Cheers, Mauro. On Wed, 02 Mar 2005 22:40:27 +0100, Gusenbauer Stefan <[EMAIL PROTECTED]> wrote: > Volodymyr Bychkoviak wrote: > > > may be you have open IndexWriter at the same time you are trying to > > delete document. > > > > Alex Ki

Re: Remove document fails

2005-03-02 Thread Gusenbauer Stefan
Volodymyr Bychkoviak wrote: may be you have open IndexWriter at the same time you are trying to delete document. Alex Kiselevski wrote: Hi, I have a problem doing IndexReader.delete(int doc) and it fails on lock error. Alex Kiselevski +9.729.776.4346 (desk) +9.729.776.1504 (fax) AMDOCS > INTEGR