PHP 7.0.6 Released

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

User Contributed Notes

There are no user contributed notes for this page.
To Top