array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrquery.settermsfield.php', 1 => 'SolrQuery::setTermsField', 2 => 'Sets the name of the field to get the Terms from', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.setterms.php', 1 => 'SolrQuery::setTerms', ), 'next' => array ( 0 => 'solrquery.settermsincludelowerbound.php', 1 => 'SolrQuery::setTermsIncludeLowerBound', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/settermsfield.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL solr >= 0.9.2)
SolrQuery::setTermsField — Sets the name of the field to get the Terms from
Sets the name of the field to get the terms from
fieldnameThe field name
Returns the current SolrQuery object, if the return value is used.