SolrInputDocument
PHP Manual

SolrInputDocument::fieldExists

(PECL solr >= 0.9.2)

SolrInputDocument::fieldExistsChecks if a field exists

説明

public bool SolrInputDocument::fieldExists ( string $fieldName )

Checks if a field exists

パラメータ

fieldName

Name of the field.

返り値

Returns TRUE if the field was found and FALSE if it was not found.


SolrInputDocument
PHP Manual