SolrQuery
PHP Manual

SolrQuery::setQuery

(PECL solr >= 0.9.2)

SolrQuery::setQuerySets the search query

说明

publicSolrQuery SolrQuery::setQuery ( string $query )

Sets the search query.

参数

query

The search query

返回值

Returns the current SolrQuery object


SolrQuery
PHP Manual