Only takes effect when IndexWriter is first created.
public IndexWriterConfig SetIndexCommit(IndexCommit commit) { this.Commit = commit; return this; }