array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrcollapsefunction.sethint.php', 1 => 'SolrCollapseFunction::setHint', ), 'up' => array ( 0 => 'class.solrcollapsefunction.php', 1 => 'SolrCollapseFunction', ), 'prev' => array ( 0 => 'solrcollapsefunction.setfield.php', 1 => 'SolrCollapseFunction::setField', ), 'next' => array ( 0 => 'solrcollapsefunction.setmax.php', 1 => 'SolrCollapseFunction::setMax', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrcollapsefunction/sethint.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL solr >= 2.2.0)
SolrCollapseFunction::setHint — Sets collapse hint
hint
Currently there is only one hint available "top_fc", which stands for top level FieldCache
示例 #1 SolrCollapseFunction::setHint() example
<?php
/* ... */
?>
以上示例的输出类似于:
...