Initialization method called by subclasses to simulate a shared base constructor as generic classes cannot have a parameterized ctor.

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
)
Visual Basic
Protected Sub Init ( _
	reader As IndexReader, _
	field As String _
)
Visual C++
protected:
void Init(
	IndexReader^ reader, 
	String^ field
)

Parameters

reader
Type: Lucene.Net.Index..::..IndexReader
The index reader to read from.
field
Type: System..::..String
The field to enumerate.

See Also