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 IllegalArgumentException is thrown.

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

Syntax

C#
public virtual void SetUseCompoundFile(
	bool value_Renamed
)
Visual Basic
Public Overridable Sub SetUseCompoundFile ( _
	value_Renamed As Boolean _
)
Visual C++
public:
virtual void SetUseCompoundFile(
	bool value_Renamed
)

Parameters

value_Renamed
Type: System..::..Boolean

[Missing <param name="value_Renamed"/> documentation for "M:Lucene.Net.Index.IndexWriter.SetUseCompoundFile(System.Boolean)"]

See Also