在线文档教程
PHP
Solr

SolrParams::set

SolrParams::set

(PECL solr >= 0.9.2)

SolrParams::set — An alias of SolrParams::setParam

Description

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

An alias of SolrParams::setParam

Parameters

name

Then name of the parameter

value

The parameter value

Return Values

Returns an instance of the SolrParams object on success

← SolrParams::serialize

SolrParams::setParam →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrparams.set.php