Throw an IllegalStateException if the index is closed.
IndexModifier Class | Lucene.Net.Index Namespace