array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrcollapsefunction.setfield.php', 1 => 'SolrCollapseFunction::setField', 2 => 'Sets the field to collapse on', ), 'up' => array ( 0 => 'class.solrcollapsefunction.php', 1 => 'SolrCollapseFunction', ), 'prev' => array ( 0 => 'solrcollapsefunction.getsize.php', 1 => 'SolrCollapseFunction::getSize', ), 'next' => array ( 0 => 'solrcollapsefunction.sethint.php', 1 => 'SolrCollapseFunction::setHint', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrcollapsefunction/setfield.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL solr >= 2.2.0)
SolrCollapseFunction::setField — Sets the field to collapse on
The field name to collapse on. In order to collapse a result. The field type must be a single valued String, Int or Float.
fieldName