Construct an enumerator over one field.

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#
public StringFieldEnumerator(
	IndexReader reader,
	string fieldName,
	bool includeDocs
)
Visual Basic
Public Sub New ( _
	reader As IndexReader, _
	fieldName As String, _
	includeDocs As Boolean _
)
Visual C++
public:
StringFieldEnumerator(
	IndexReader^ reader, 
	String^ fieldName, 
	bool includeDocs
)

Parameters

reader
Type: Lucene.Net.Index..::..IndexReader
Index reader.
fieldName
Type: System..::..String
The field to read.
includeDocs
Type: System..::..Boolean
Whether the TermDocs will also be enumerated.

See Also