You are here

public function SolrBaseQuery::getParams in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 Solr_Base_Query.php \SolrBaseQuery::getParams()
  2. 6.3 Solr_Base_Query.php \SolrBaseQuery::getParams()

Gets all parameters in normalized form.

Return value

array All parameters as key-value pairs.

Overrides DrupalSolrQueryInterface::getParams

1 call to SolrBaseQuery::getParams()
SolrBaseQuery::getSolrParams in ./Solr_Base_Query.php
Gets parameters in a form suitable for use in a Solr query.

File

./Solr_Base_Query.php, line 456
This class allows you to make operations on a query that will be sent to Apache Solr. methods such as adding and removing sorts, remove and replace parameters, adding and removing filters, getters and setters for various parameters and more

Class

SolrBaseQuery

Code

public function getParams() {
  $params = $this->params;
  $params['fq'] = $this
    ->rebuildFq();
  return $params;
}