\Apache_Solr_Document

Holds Key / Value pairs that represent a Solr Document along with any associated boost values. Field values can be accessed by direct dereferencing such as: <code> ...

$document->title = 'Something';
echo $document->title;
...
</code>

Additionally, the field values can be iterated with foreach

<code>
foreach ($document as $fieldName => $fieldValue)
{
...
}
</code>