SolrParams::add

(PECL solr >= 0.9.2)

SolrParams::addThis is an alias for SolrParams::addParam

Description

final public SolrParams::add ( string $name , string $value ) : SolrParams

This is an alias for SolrParams::addParam

Parameters

name

The name of the parameter

value

The value of the parameter

Return Values

Returns a SolrParams instance on success