SolrInputDocument::fieldExists

(PECL solr >= 0.9.2)

SolrInputDocument::fieldExistsChecks if a field exists

Descrierea

public SolrInputDocument::fieldExists ( string $fieldName ) : bool

Checks if a field exists

Parametri

fieldName

Name of the field.

Valorile întoarse

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