Returns true if a newly flushed (not from merge) segment should use the compound file format.

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

Syntax

C#
public abstract bool UseCompoundFile(
	SegmentInfos segments,
	SegmentInfo newSegment
)
Visual Basic
Public MustOverride Function UseCompoundFile ( _
	segments As SegmentInfos, _
	newSegment As SegmentInfo _
) As Boolean
Visual C++
public:
virtual bool UseCompoundFile(
	SegmentInfos^ segments, 
	SegmentInfo^ newSegment
) abstract

Parameters

segments
Type: Lucene.Net.Index..::..SegmentInfos

[Missing <param name="segments"/> documentation for "M:Lucene.Net.Index.MergePolicy.UseCompoundFile(Lucene.Net.Index.SegmentInfos,Lucene.Net.Index.SegmentInfo)"]

newSegment
Type: Lucene.Net.Index..::..SegmentInfo

[Missing <param name="newSegment"/> documentation for "M:Lucene.Net.Index.MergePolicy.UseCompoundFile(Lucene.Net.Index.SegmentInfos,Lucene.Net.Index.SegmentInfo)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.MergePolicy.UseCompoundFile(Lucene.Net.Index.SegmentInfos,Lucene.Net.Index.SegmentInfo)"]

See Also