Apache Lucene.Net 2.4.0 Class Library API

LockFactory.ClearLock Method 

Attempt to clear (forcefully unlock and remove) the specified lock. Only call this at a time when you are certain this lock is no longer in use.

public abstract void ClearLock(
   string lockName
);

Parameters

lockName
name of the lock to be cleared.

See Also

LockFactory Class | Lucene.Net.Store Namespace