Lucene.Net 1.4.3 Class Library

IndexReader.IsLocked Method (Directory)

Returns

true
iff the index in the named directory is currently locked.

public static bool IsLocked(
   Directory directory
);

Parameters

directory
the directory to check for a lock

See Also

IndexReader Class | Lucene.Net.Index Namespace | IndexReader.IsLocked Overload List