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,
	int docStoreOffset,
	string docStoreSegment,
	bool docStoreIsCompoundFile,
	bool hasProx
)
Visual Basic
Public Sub New ( _
	name As String, _
	docCount As Integer, _
	dir As Directory, _
	isCompoundFile As Boolean, _
	hasSingleNormFile As Boolean, _
	docStoreOffset As Integer, _
	docStoreSegment As String, _
	docStoreIsCompoundFile As Boolean, _
	hasProx As Boolean _
)
Visual C++
public:
SegmentInfo(
	String^ name, 
	int docCount, 
	Directory^ dir, 
	bool isCompoundFile, 
	bool hasSingleNormFile, 
	int docStoreOffset, 
	String^ docStoreSegment, 
	bool docStoreIsCompoundFile, 
	bool hasProx
)

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,System.Int32,System.String,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,System.Int32,System.String,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,System.Int32,System.String,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,System.Int32,System.String,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,System.Int32,System.String,System.Boolean,System.Boolean)"]

docStoreOffset
Type: System..::..Int32

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

docStoreSegment
Type: System..::..String

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

docStoreIsCompoundFile
Type: System..::..Boolean

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

hasProx
Type: System..::..Boolean

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

See Also