Php/docs/solrcollapsefunction.sethint

来自菜鸟教程
跳转至:导航、​搜索

SolrCollapseFunction::setHint

(PECL solr >= 2.2.0)

SolrCollapseFunction::setHintSets 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


范例

Example #1 SolrCollapseFunction::setHint() example

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

以上例程的输出类似于:


...