SolrDocument
PHP Manual

SolrDocument::getFieldNames

(PECL solr >= 0.9.2)

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

Description

public array SolrDocument::getFieldNames ( void )

Returns an array of fields names in the document.

Parameters

This function has no parameters.

Return Values

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


SolrDocument
PHP Manual