public function SolrBaseQuery::getSolrsort in Apache Solr Search 8
Same name and namespace in other branches
- 6.3 Solr_Base_Query.php \SolrBaseQuery::getSolrsort()
- 7 Solr_Base_Query.php \SolrBaseQuery::getSolrsort()
Gets the current sort.
Return value
array The current sort as an array with the keys '#name', for the name of the field, and '#direction', for the sort direction ('asc' or 'desc').
Overrides DrupalSolrQueryInterface::getSolrsort
File
- ./
Solr_Base_Query.php, line 605 - 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 getSolrsort() {
return $this->solrsort;
}