Initialize the instance.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net.Contrib.Core (in Lucene.Net.Contrib.Core.dll) Version: 2.9.2.0 (2.9.2)

Syntax

C#
protected void Init(
	IndexReader reader,
	string field,
	bool includeDocs,
	FieldParser parser
)
Visual Basic
Protected Sub Init ( _
	reader As IndexReader, _
	field As String, _
	includeDocs As Boolean, _
	parser As FieldParser _
)
Visual C++
protected:
void Init(
	IndexReader^ reader, 
	String^ field, 
	bool includeDocs, 
	FieldParser parser
)

Parameters

reader
Type: Lucene.Net.Index..::..IndexReader
The reader.
field
Type: System..::..String
The field name.
includeDocs
Type: System..::..Boolean
Whether to include a TermDoc enum.
parser
Type: Lucene.Net.Index..::..FieldParser
The parser to use on the field.

See Also