Apache Lucene.Net 2.4.0 Class Library API

Document.GetFields Method (String)

Returns an array of {@link Field}s with the given name. Do not use with lazy loaded fields. This method returns an empty array when there are no matching fields. It never returns null.

public Field[] GetFields(
   string name
);

Parameters

name
the name of the field

Return Value

a

Field[]
array

See Also

Document Class | Lucene.Net.Documents Namespace | Document.GetFields Overload List