SolrInputDocument::getFieldCount (PECL solr >= 0.9.2)SolrInputDocument::getFieldCount — Returns the number of fields in the document 说明 public SolrInputDocument::getFieldCount(): int|false Returns the number of fields in the document. 参数 此函数没有参数。 返回值 Returns an integer on success 或者在失败时返回 false.