= 0.9.2)SolrQuery::setQuery — Sets the search query說明public SolrQuery::setQuery(string $query): SolrQuerySets the searc">

SolrQuery::setQuery

(PECL solr >= 0.9.2)

SolrQuery::setQuerySets the search query

說明

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

Sets the search query.

參數(shù)

query

The search query

返回值

Returns the current SolrQuery object