public function SolrBaseQuery::solr in Apache Solr Search 8
Same name and namespace in other branches
- 6.3 Solr_Base_Query.php \SolrBaseQuery::solr()
- 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 654 - 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
Code
public function solr($method) {
return $this->solr
->{$method}();
}