Apache Lucene.Net 2.1 Class Library API

IndexReader.GetFieldNames Method 

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

public abstract ICollection GetFieldNames(
   FieldOption fldOption
);

Parameters

fldOption
specifies which field option should be available for the returned fields

Return Value

Collection of Strings indicating the names of the fields.

See Also

IndexReader Class | Lucene.Net.Index Namespace |