LUCENE-771:
* API change: change LockFactory.clearAllLocks() to
LockFactory.clearLock(String lockName) because locks are no longer
so "global". (This API is not released yet). Now FSDirectory
just clears specifically the write lock when create=true.
* Fix abstraction violation of LockFactory: FSDirectory now calls
clearLock() instead of doing File deletes itself (duh!).
|