You are here

protected property SolrBaseQuery::$solrsort in Apache Solr Search 7

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

File

./Solr_Base_Query.php, line 285
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

protected $solrsort = array(
  '#name' => 'score',
  '#direction' => 'desc',
);