phpday 2027 - Call for Papers

SolrDocument::getFieldCount

(PECL solr >= 0.9.2)

SolrDocument::getFieldCount — Returns the number of fields in this document

Description

public function SolrDocument::getFieldCount(): int

Returns the number of fields in this document. Multi-value fields are only counted once.

Parameters

This function has no parameters.

Return Values

Returns an integer on success and false on failure.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top