Hi Mike,

Thanks a lot, where would this lock information go and also
How do I set the lock timeout?

Kasi

-----Original Message-----
From: Mike Klaas [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 20, 2007 12:19 PM
To: solr-user@lucene.apache.org
Subject: Re: clearing solr write.lock

On 20-Dec-07, at 11:24 AM, Kasi Sankaralingam wrote:

> I am running into a problem where previous residual lock files are
> left in solr data directory after
> A failed process, can we programmatically/efficiently remove
> this .lock file. Also, has anyone
> Externalized the handling of lock files (meaning keep the lock file
> for example in database?)
> Any plug in available?

Well, the lock isn't really important at all for typical Solr
operation.  It is recommended to use <lockType>simple</lockType>
(1.3) which avoids FS locks.  Otherwise, I would set
<mainIndex><unlockOnStartup>true</unlockOnStartup></mainIndex> and
not worry about it.

-Mike

Reply via email to