= 0.9.2)SolrQuery::__construct — Constructor說明public SolrQuery::__construct(string $q = ?)Constructor. 參數(shù)qOptional s">

SolrQuery::__construct

(PECL solr >= 0.9.2)

SolrQuery::__constructConstructor

說明

public SolrQuery::__construct(string $q = ?)

Constructor.

參數(shù)

q

Optional search query

返回值

None

錯(cuò)誤/異常

Emits SolrIllegalArgumentException in case of an invalid parameter was passed.

更新日志

版本 說明
PECL solr 2.0.0 If q was invalid, then a SolrIllegalArgumentException is now thrown. Previously an error was emitted.