lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Muniz <>
Subject Re: Lock file problem
Date Fri, 16 Jul 2004 14:27:06 GMT
Are you already using an IndexWriter?
IndexWriter creates a lock i think. And IndexReader.delete wants to 
abtain a a lock also.
you have to perform your deletes before you use the indexWriter to add 
documents to the index.

I hope this helps

Steve Rajavuori wrote:

>I'm having a problem with Lucene obtaining a lock file on Windows. Running
>1.4 RC3, I see the error below repeatedly. I try stopping my process,
>deleting the file, then restarting. The error just occurs again every time.
> Lock obtain timed out:
>	at
>	at
>	at org.apache.lucene.index.IndexReader.delete(
>	at org.apache.lucene.index.IndexReader.delete(
>ANyone know the cause of this?
>Steve Rajavuori
>O'Pin Systems
>2600 Eagan Woods Dr., Suite 400
>Eagan, MN  55121
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message