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 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 > INTEGRATED CUSTOMER MANAGEMENT
> >>
> >>
> >>
> >>
> >>
> >> The information contained in this message is proprietary of Amdocs,
> >> protected from disclosure, and may be privileged.
> >> The information is intended to be conveyed only to the designated
> >> recipient(s)
> >> of the message. If the reader of this message is not the intended
> >> recipient,
> >> you are hereby notified that any dissemination, use, distribution or
> >> copying of
> >>
> >> this communication is strictly prohibited and may be unlawful.
> >>
> >> If you have received this communication in error, please notify us
> >> immediately
> >> by replying to the message and deleting it from your computer.
> >> Thank you.
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> I've the same problem that my IndexWriter is open. Is there any
> possibility to unlock it manually because i do not want to close it.
> Thank you
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to