SolrCollapseFunction
PHP Manual

SolrCollapseFunction::setHint

(PECL solr >= 2.2.0)

SolrCollapseFunction::setHintSets collapse hint

说明

public SolrCollapseFunction SolrCollapseFunction::setHint ( string $hint )

Sets collapse hint

参数

hint

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

返回值

SolrCollapseFunction

范例

Example #1 SolrCollapseFunction::setHint() example

<?php

/* ... */

?>

以上例程的输出类似于:

...

SolrCollapseFunction
PHP Manual