| Hi Atin, sorry I'll close this JIRA as it's not an issue in our project. I'm still happy to give you some suggestions though. If you're really sure that no two instances of Hibernate Search applications are contending the same lock instance, then you have a problem with the network share file system. Don't use it! Our user guide suggests alternatives to replicate the index among different nodes over the network, but having Lucene always write (and acquire locks) on a local file system. See also:
Finally, if you're sure the locking problem is a false alarm, you can disable the locking mechanism:
Bear in mind that if you disable the locking, and then later you actually realize you were mistaken and had multiple applications writing on the same index, the index will corrupt. |