SolrParams::set

(PECL solr >= 0.9.2)

SolrParams::setAn alias of SolrParams::setParam

说明

final public SolrParams::set(string $name, string $value): void

An alias of SolrParams::setParam

参数

name

Then name of the parameter

value

The parameter value

返回值

Returns an instance of the SolrParams object on success