Php/docs/solrquery.setquery

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

SolrQuery::setQuery

(PECL solr >= 0.9.2)

SolrQuery::setQuerySets the search query


说明

public SolrQuery::setQuery ( string $query ) : SolrQuery

Sets the search query.


参数

query
The search query


返回值

Returns the current SolrQuery object