SolrDocument::getField

Retrieves 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 success and FALSE on failure.