PHP - Manual: SolrDocument::getFieldCount
2024-12-22
(PECL solr >= 0.9.2)
SolrDocument::getFieldCount — Returns the number of fields in this document
Returns the number of fields in this document. Multi-value fields are only counted once.
此函数没有参数。
Returns an integer on success and false
on failure.
官方地址:https://www.php.net/manual/en/solrdocument.getfieldcount.php