PHP - Manual: SolrInputDocument::fieldExists
2024-11-14
(PECL solr >= 0.9.2)
SolrInputDocument::fieldExists — Checks if a field exists
$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.
官方地址:https://www.php.net/manual/en/solrinputdocument.fieldexists.php