Get the current setting of whether newly flushed segments will use the compound file format. Note that this just returns the value previously set with setUseCompoundFile(bool), or the default value (true). You cannot use this to query the status of previously flushed segments.
Note that this method is a convenience method: it just calls mergePolicy.GetUseCompoundFile as long as mergePolicy is an instance of {@link LogMergePolicy}. Otherwise an System.ArgumentException is thrown.
IndexWriter Class | Lucene.Net.Index Namespace |