= 0.9.2)SolrQuery::setTermsField — Sets the name of the field to get the Terms from說(shuō)明public SolrQuery::setTermsFie">

SolrQuery::setTermsField

(PECL solr >= 0.9.2)

SolrQuery::setTermsFieldSets the name of the field to get the Terms from

說(shuō)明

public SolrQuery::setTermsField(string $fieldname): SolrQuery

Sets the name of the field to get the terms from

參數(shù)

fieldname

The field name

返回值

Returns the current SolrQuery object, if the return value is used.