SolrDocument::getFieldCount

(PECL solr >= 0.9.2)

SolrDocument::getFieldCountReturns the number of fields in this document

说明

public SolrDocument::getFieldCount ( void ) : int

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

参数

此函数没有参数。

返回值

Returns an integer on success and FALSE on failure.

相关文章
php ibm db2 函数 returns the number of fields contained in a result setphp ingres 函数 get the number of fields returned by the last queryphp paradox 函数 returns number of fields in a databasephp sqlite 函数 returns the number of fields in a result setphp tidy 函数 returns the number of tidy accessibility warnings encountered for specified documentphp tidy 函数 returns the number of tidy configuration errors encountered for specified documentphp tidy 函数 returns the number of tidy errors encountered for specified documentphp tidy 函数 returns the number of tidy warnings encountered for specified documentphp simplexmlelement returns namespaces used in documentphp solrdocument drops all the fields in the documentphp solrdocument returns the number of child documentsphp solrdocument returns the number of fields in this documentphp solrdocument returns an array of fields names in the documentphp solrdocument sorts the fields in the documentphp solrdocument returns an array representation of the documentphp solrinputdocument returns the number of fields in the documentphp solrinputdocument returns an array containing all the fields in the documentphp solrquery returns the maximum number of constraint counts that should be returned for the facet fieldsphp solrquery returns the maximum number of characters into a document to look for suitable snippetsphp solrquery returns the maximum number of tokens to parse in each document field that is not stored with termvector support
关注编程学问公众号