Constructor


(PECL solr >= 0.9.2)

SolrQuery::__constructConstructor

Описание

public SolrQuery::__construct ([ string $q ] )

Constructor.

Список параметров

q

Optional search query

Возвращаемые значения

None

Ошибки

Emits SolrIllegalArgumentException in case of an invalid parameter was passed.

Список изменений

Версия Описание
2.0.0 If q was invalid, then a SolrIllegalArgumentException is now thrown. Previously an error was emitted.