You are here

public function SolrBaseQuery::solr in Apache Solr Search 6.3

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

Calls a method, without arguments, on the Solr object with which the query object was initialized.

Parameters

string $method: The method to call on the Solr object.

Return value

Any method return.

Overrides DrupalSolrQueryInterface::solr

File

./Solr_Base_Query.php, line 652
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 solr($method) {
  return $this->solr
    ->{$method}();
}