Php/docs/solrquery.settermsfield

来自菜鸟教程
跳转至:导航、​搜索

SolrQuery::setTermsField

(PECL solr >= 0.9.2)

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


说明

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

Sets the name of the field to get the terms from


参数

fieldname
The field name


返回值

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