SolrInputDocument::fieldExists
(PECL solr >= 0.9.2)
SolrInputDocument::fieldExists — Checks if a field exists
说明
public SolrInputDocument::fieldExists
( string
$fieldName
) : boolChecks if a field exists
参数
-
fieldName
-
Name of the field.
返回值
Returns TRUE
if the field was found and FALSE
if it was not found.