SolrDocument
PHP 手册

SolrDocument::getFieldNames

(PECL solr >= 0.9.2)

SolrDocument::getFieldNamesReturns an array of fields names in the document

说明

public array SolrDocument::getFieldNames ( void )

Returns an array of fields names in the document.

参数

此函数没有参数。

返回值

Returns an array containing the names of the fields in this document.


SolrDocument
PHP 手册