SolrInputDocument::getField
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Retrieves a field by name
Description
SolrInputDocument::getField(string $fieldName): SolrDocumentField
Retrieves a field in the document.
Parameters
fieldNameThe name of the field.
Return Values
Returns a SolrDocumentField object on success and false on failure.