phpday 2027 - Call for Papers

SolrDocument::getField

(PECL solr >= 0.9.2)

SolrDocument::getField — Retrieves a field by name

Description

public function SolrDocument::getField(string $fieldName): SolrDocumentField

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.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top