array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), '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); ?>

SolrCollapseFunction::setField

(PECL solr >= 2.2.0)

SolrCollapseFunction::setFieldSets the field to collapse on

説明

public SolrCollapseFunction::setField(string $fieldName): SolrCollapseFunction

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

戻り値

SolrCollapseFunction