You are here

function apachesolr_views_query::set_param in Apache Solr Views 6

set the search param. useful for extensions like localsolr

Parameters

string $param_name: name of the parameter

string $param_value: value of the parameter

Return value

none;

File

./apachesolr_views_query.inc, line 504

Class

apachesolr_views_query
Class for handling a view that gets its data not from the database, but from a Solr server.

Code

function set_param($param_name, $param_value) {
  $this->_params[$param_name] = $param_value;
}