= 0.9.2)SolrInputDocument::fieldExists — Checks if a field exists說(shuō)明public SolrInputDocument::fieldExists(str">

SolrInputDocument::fieldExists

(PECL solr >= 0.9.2)

SolrInputDocument::fieldExistsChecks if a field exists

說(shuō)明

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

Checks if a field exists

參數(shù)

fieldName

Name of the field.

返回值

Returns true if the field was found and false if it was not found.