PHP - Manual: SolrInputDocument::getFieldCount
2024-12-22
(PECL solr >= 0.9.2)
SolrInputDocument::getFieldCount — Returns the number of fields in the document
Returns the number of fields in the document.
此函数没有参数。
Returns an integer on success 或者在失败时返回 false
.
官方地址:https://www.php.net/manual/en/solrinputdocument.getfieldcount.php