Forcibly unlocks the index in the named directory.
Caution: this should only be used by failure recovery code,
when it is known that no other process nor thread is in fact
currently accessing this index.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static void Unlock( Directory directory ) |
Visual Basic |
---|
Public Shared Sub Unlock ( _ directory As Directory _ ) |
Visual C++ |
---|
public: static void Unlock( Directory^ directory ) |
Parameters
- directory
- Type: Lucene.Net.Store..::..Directory
[Missing <param name="directory"/> documentation for "M:Lucene.Net.Index.IndexWriter.Unlock(Lucene.Net.Store.Directory)"]