= 0.9.2)SolrInputDocument::getField — Retrieves a field by name說明public SolrInputDocument::getField(string $fie">

SolrInputDocument::getField

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldRetrieves a field by name

說明

public SolrInputDocument::getField(string $fieldName): SolrDocumentField

Retrieves a field in the document.

參數(shù)

fieldName

The name of the field.

返回值

Returns a SolrDocumentField object on success and false on failure.