# SolrCollapseFunction::getField

(PECL solr >= 2.2.0)

SolrCollapseFunction::getField — Returns the field that is being collapsed on

### 说明

public SolrCollapseFunction::getField(): string

Returns the field that is being collapsed on.

### 参数

此函数没有参数。

### 返回值

### 参见

- SolrCollapseFunction::setField() - Sets the field to collapse on

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