Apache Lucene.Net 2.4.0 Class Library API

IndexWriter.SetUseCompoundFile Method 

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.

public virtual void SetUseCompoundFile(
   bool value_Renamed
);

See Also

IndexWriter Class | Lucene.Net.Index Namespace