SolrDocument::getFieldNames

(PECL solr >= 0.9.2)

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

說明

public SolrDocument::getFieldNames(): array

Returns an array of fields names in the document.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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