Return a string identifier that uniquely differentiates this Directory instance from other Directory instances. This ID should be the same if two Directory instances (even in different JVMs and/or on different machines) are considered "the same index". This is how locking "scopes" to the right index.

Namespace: Lucene.Net.Store
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual string GetLockID()
Visual Basic
Public Overridable Function GetLockID As String
Visual C++
public:
virtual String^ GetLockID()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Store.Directory.GetLockID"]

See Also