Lucene.Net 1.4.3 Class Library

IndexReader.GetFieldNames Method (Boolean)

Returns a list of all unique Field names that exist in the index pointed to by this IndexReader. The boolean argument specifies whether the fields returned are indexed or not.

public abstract ICollection GetFieldNames(
   bool indexed
);

Parameters

indexed
true
if only indexed fields should be returned;
false
if only unindexed fields should be returned.

Return Value

Collection of Strings indicating the names of the fields

See Also

IndexReader Class | Lucene.Net.Index Namespace | IndexReader.GetFieldNames Overload List