PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

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.