Initializes a new instance of the SegmentInfo class

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

Syntax

C#
public SegmentInfo(
	string name,
	int docCount,
	Directory dir,
	bool isCompoundFile,
	bool hasSingleNormFile
)
Visual Basic
Public Sub New ( _
	name As String, _
	docCount As Integer, _
	dir As Directory, _
	isCompoundFile As Boolean, _
	hasSingleNormFile As Boolean _
)
Visual C++
public:
SegmentInfo(
	String^ name, 
	int docCount, 
	Directory^ dir, 
	bool isCompoundFile, 
	bool hasSingleNormFile
)

Parameters

name
Type: System..::..String

[Missing <param name="name"/> documentation for "M:Lucene.Net.Index.SegmentInfo.#ctor(System.String,System.Int32,Lucene.Net.Store.Directory,System.Boolean,System.Boolean)"]

docCount
Type: System..::..Int32

[Missing <param name="docCount"/> documentation for "M:Lucene.Net.Index.SegmentInfo.#ctor(System.String,System.Int32,Lucene.Net.Store.Directory,System.Boolean,System.Boolean)"]

dir
Type: Lucene.Net.Store..::..Directory

[Missing <param name="dir"/> documentation for "M:Lucene.Net.Index.SegmentInfo.#ctor(System.String,System.Int32,Lucene.Net.Store.Directory,System.Boolean,System.Boolean)"]

isCompoundFile
Type: System..::..Boolean

[Missing <param name="isCompoundFile"/> documentation for "M:Lucene.Net.Index.SegmentInfo.#ctor(System.String,System.Int32,Lucene.Net.Store.Directory,System.Boolean,System.Boolean)"]

hasSingleNormFile
Type: System..::..Boolean

[Missing <param name="hasSingleNormFile"/> documentation for "M:Lucene.Net.Index.SegmentInfo.#ctor(System.String,System.Int32,Lucene.Net.Store.Directory,System.Boolean,System.Boolean)"]

See Also