Quote:
Is this expected normal behaviour for HS??
It was not meant to work like that, there's an open issue about the backend not propagating exceptions. Lucene doesn't log anything, and the backend works in a threadpool separated from the main app, so I/O or lockTimeout exceptions are not currently propagated. The exception will kill the current thread, but the threadPool will silently spawn a new one.
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-421It's scheduled for the next beta, amin-mc is working on it.
On the locking problem, you could consider the NativeFSLockFactory which will cleanup locks when crashing:
http://wiki.apache.org/lucene-java/AvailableLockFactories