# SolrCollapseFunction::setHint

(PECL solr >= 2.2.0)

SolrCollapseFunction::setHint — Sets collapse hint

### 说明

public SolrCollapseFunction::setHint(string `$hint`): SolrCollapseFunction

Sets collapse hint

### 参数

`hint`

  Currently there is only one hint available "top_fc", which stands for top level FieldCache

### 返回值

SolrCollapseFunction

### 示例

示例 #1 SolrCollapseFunction::setHint() example

`<?php
/* ... */
?>`

以上示例的输出类似于：

    ...

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