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

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