Lucene.Net.Index.IndexWriterConfig.SetWriteLockTimeout C# (CSharp) Méthode

SetWriteLockTimeout() public méthode

Sets the maximum time to wait for a write lock (in milliseconds) for this instance. You can change the default value for all instances by calling #setDefaultWriteLockTimeout(long).

Only takes effect when IndexWriter is first created.

public SetWriteLockTimeout ( long writeLockTimeout ) : IndexWriterConfig
writeLockTimeout long
Résultat IndexWriterConfig
        public IndexWriterConfig SetWriteLockTimeout(long writeLockTimeout)
        {
            this.writeLockTimeout = writeLockTimeout;
            return this;
        }