Setting to turn on usage of a compound file. When on, multiple files for each segment are merged into a single file when a new segment is flushed.
Note that this method is a convenience method: it just calls mergePolicy.SetUseCompoundFile as long as mergePolicy is an instance of {@link LogMergePolicy}. Otherwise an System.ArgumentException is thrown.
IndexWriter Class | Lucene.Net.Index Namespace