public virtual void Close();
Closes the index with or without waiting for currently running merges to finish. This is only meaningful when using a MergeScheduler that runs merges in background threads.
public virtual void Close(bool);
IndexWriter Class | Lucene.Net.Index Namespace