SolrQuery
PHP Manual

SolrQuery::getTerms

(PECL solr >= 0.9.2)

SolrQuery::getTermsReturns whether or not the TermsComponent is enabled

说明

public bool SolrQuery::getTerms ( void )

Returns whether or not the TermsComponent is enabled

参数

此函数没有参数。

返回值

Returns a boolean on success and NULL if not set.


SolrQuery
PHP Manual