You are here

function DrupalSolrQueryInterface::addParams in Apache Solr Search 8

Same name and namespace in other branches
  1. 6.3 apachesolr.interface.inc \DrupalSolrQueryInterface::addParams()
  2. 7 apachesolr.interface.inc \DrupalSolrQueryInterface::addParams()

Adds multiple params to be sent when running the Solr search.

If the param is single-valued, this will replace rather than add the value.

Parameters

$params: An array where the keys are param names, and the values may be strings or arrays of strings.

Return value

DrupalSolrQueryInterface The called object.

1 method overrides DrupalSolrQueryInterface::addParams()
SolrBaseQuery::addParams in ./Solr_Base_Query.php
Adds multiple params to be sent when running the Solr search.

File

./apachesolr.interface.inc, line 200

Class

DrupalSolrQueryInterface
The interface for all 'query' objects.

Code

function addParams(array $params);