Get a list of unique field names that exist in this index and have the specified field option information.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public abstract ICollection<string> GetFieldNames(
	IndexReader..::..FieldOption fldOption
)
Visual Basic
Public MustOverride Function GetFieldNames ( _
	fldOption As IndexReader..::..FieldOption _
) As ICollection(Of String)
Visual C++
public:
virtual ICollection<String^>^ GetFieldNames(
	IndexReader..::..FieldOption^ fldOption
) abstract

Parameters

fldOption
Type: Lucene.Net.Index..::..IndexReader..::..FieldOption
specifies which field option should be available for the returned fields

Return Value

Collection of Strings indicating the names of the fields.

See Also