SolrQuery::setQuery

(PECL solr >= 0.9.2)

SolrQuery::setQuerySets the search query

说明

public SolrQuery SolrQuery::setQuery ( string $query )

Sets the search query.

参数

query

The search query

返回值

Returns the current SolrQuery object