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

Parameters

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

[Missing <param name="fieldName"/> documentation for "M:Lucene.Net.Index.FieldEnumerator`1.Init(Lucene.Net.Index.IndexReader,System.String,System.Boolean)"]

includeDocs
Type: System..::..Boolean
Whether this enumerator will support TermDocs.

See Also