SolrDocument::getField

SolrDocument::getField

(PECL solr >= 0.9.2)

SolrDocument::getFieldRetrieves a field by name

Description

public SolrDocumentField SolrDocument::getField ( string $fieldName )

Retrieves a field by name.

Parameters

fieldName

Name of the field.

Return Values

Returns a SolrDocumentField on suc