The InfinispanDirectoryProvider ignores the configuration property used to configure and alternative org.apache.lucene.store.LockFactory.
This generally makes sense as most such implementations require a shared filesystem, but we still need to expose the property to allow users for example to set the org.apache.lucene.store.NoLockFactory strategy. This is for example convenient when there is an external controller to guarantee the exclusivity of writers: is we were not to disable locking, such an external controller would need to clear the locks manually when it needs to start a failover to a different master.
|