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