Php/docs/solrquery.setexpandquery

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

SolrQuery::setExpandQuery

(PECL solr >= 2.2.0)

SolrQuery::setExpandQuerySets the expand.q parameter


说明

public SolrQuery::setExpandQuery ( string $q ) : SolrQuery

Sets the expand.q parameter.

Overrides the main q parameter, determines which documents to include in the main group.


参数

q


返回值

SolrQuery


参见