(PECL solr >= 0.9.2)
SolrDocument::offsetGet — Retrieves a field
$fieldName
This is used to retrieve the field when the object is treated as an array.
fieldName
The name of the field.
Returns a SolrDocumentField object.