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.

锟斤拷锟斤拷

fieldName

The name of the field.

锟斤拷锟斤拷值

Returns a SolrDocumentField object on success and FALSE on failure.