array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrdocument.getfieldnames.php', 1 => 'SolrDocument::getFieldNames', ), 'up' => array ( 0 => 'class.solrdocument.php', 1 => 'SolrDocument', ), 'prev' => array ( 0 => 'solrdocument.getfieldcount.php', 1 => 'SolrDocument::getFieldCount', ), 'next' => array ( 0 => 'solrdocument.getinputdocument.php', 1 => 'SolrDocument::getInputDocument', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrdocument/getfieldnames.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL solr >= 0.9.2)
SolrDocument::getFieldNames — Returns an array of fields names in the document
此函数没有参数。
Returns an array containing the names of the fields in this document.