Apache Lucene.Net 2.4.0 Class Library API

IndexReader.IsLocked Method

NOTE: This method is now obsolete.

Please use IndexWriter.IsLocked(Directory) instead.


Returns

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

Overload List

Obsolete. Returns

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

public static bool IsLocked(Directory);

Obsolete. Returns

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

public static bool IsLocked(string);

See Also

IndexReader Class | Lucene.Net.Index Namespace