Apache Lucene.Net 2.4.0 Class Library API

Document.GetBinaryValues Method 

Returns an array of byte arrays for the fields that have the name specified as the method parameter. This method returns an empty array when there are no matching fields. It never returns null.

public byte[][] GetBinaryValues(
   string name
);

Parameters

name
the name of the field

Return Value

a

byte[][]
of binary field values

See Also

Document Class | Lucene.Net.Documents Namespace