DrupalSolrQueryInterface::replaceParam

  1. apachesolr
    1. 7
Versions
7 DrupalSolrQueryInterface::replaceParam($name, $value)

Replaces a param to be sent when running the Solr search.

Basically a shortcut for removeParam() plus addParam().

Parameters

string $name A Solr param name, e.g. 'q' or 'fl'.

$value A Solr param value: an array of values, or a string for a single value.

Return value

DrupalSolrQueryInterface The called object.

Code

./apachesolr.module, line 2827

<?php
function replaceParam($name, $value);
?>