SolrDocument::getFieldCount
PHP function
Edit on GitHub ✎
(PECL solr >= 0.9.2)
Returns the number of fields in this document
Description
SolrDocument::getFieldCount(): int
Returns the number of fields in this document. Multi-value fields are only counted once.
Parameters Parameters
Return Values
Returns an integer on success and false on failure.