SolrDocument::offsetGet
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Retrieves a field
Description
SolrDocument::offsetGet(string $fieldName): SolrDocumentField
This is used to retrieve the field when the object is treated as an array.
Parameters
fieldNameThe name of the field.
Return Values
Returns a SolrDocumentField object.