array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrinputdocument.getfieldnames.php', 1 => 'SolrInputDocument::getFieldNames', 2 => 'Returns an array containing all the fields in the document', ), 'up' => array ( 0 => 'class.solrinputdocument.php', 1 => 'SolrInputDocument', ), 'prev' => array ( 0 => 'solrinputdocument.getfieldcount.php', 1 => 'SolrInputDocument::getFieldCount', ), 'next' => array ( 0 => 'solrinputdocument.haschilddocuments.php', 1 => 'SolrInputDocument::hasChildDocuments', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrinputdocument/getfieldnames.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrInputDocument::getFieldNames

(PECL solr >= 0.9.2)

SolrInputDocument::getFieldNamesReturns an array containing all the fields in the document

说明

public SolrInputDocument::getFieldNames(): array

Returns an array containing all the fields in the document.

参数

此函数没有参数。

返回值

Returns an array on success and false on failure.