Apache Lucene.Net 2.4.0 Class Library API

IndexReader.IsLocked Method (String)

NOTE: This method is now obsolete.

Please use IndexWriter.IsLocked(string) instead.


Returns

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

public static bool IsLocked(
   string directory
);

Parameters

directory
the directory to check for a lock

See Also

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