Apache Lucene.Net 2.1 Class Library API

IndexWriter.SetWriteLockTimeout Method 

Sets the maximum time to wait for a write lock (in milliseconds) for this instance of IndexWriter.

public virtual void SetWriteLockTimeout(
   long writeLockTimeout
);

See Also

IndexWriter Class | Lucene.Net.Index Namespace | | to change the default value for all