# SolrDocument::getFieldNames

(PECL solr >= 0.9.2)

SolrDocument::getFieldNames — Returns an array of fields names in the document

### 说明

public SolrDocument::getFieldNames(): array

Returns an array of fields names in the document.

### 参数

此函数没有参数。

### 返回值

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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open