Apache Lucene.Net 2.4.0 Class Library API

Directory.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 virtual void ClearLock(
   string name
);

Parameters

name
name of the lock to be cleared.

See Also

Directory Class | Lucene.Net.Store Namespace