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(boolean), 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 IllegalArgumentException is thrown.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual bool GetUseCompoundFile()
Visual Basic
Public Overridable Function GetUseCompoundFile As Boolean
Visual C++
public:
virtual bool GetUseCompoundFile()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.IndexWriter.GetUseCompoundFile"]

See Also

[!:SetUseCompoundFile(boolean)]