function Drupal_Solr_Query_Interface::set_solrsort in Apache Solr Search 6
Same name and namespace in other branches
- 5.2 apachesolr.module \Drupal_Solr_Query_Interface::set_solrsort()
- 6.2 apachesolr.module \Drupal_Solr_Query_Interface::set_solrsort()
Set the solrsort.
Parameters
$field: The name of a field in the solr index that's an allowed sort.
$direction: 'asc' or 'desc'
1 method overrides Drupal_Solr_Query_Interface::set_solrsort()
- Solr_Base_Query::set_solrsort in ./
Solr_Base_Query.php - Set the solrsort.
File
- ./
apachesolr.module, line 1993 - Integration with the Apache Solr search application.
Class
- Drupal_Solr_Query_Interface
- The interface for all 'query' objects.
Code
function set_solrsort($field, $direction);