Closed (fixed)
Project:
Apache Solr Search
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2009 at 20:47 UTC
Updated:
10 May 2010 at 15:40 UTC
Solr's default sort is "score desc" not "score asc": http://wiki.apache.org/solr/CommonQueryParameters#sort
but apachesolr.module and Solr_Base_Query.php use "score asc" as the default. Am I missing something?
Comments
Comment #1
pwolanin commentedHmm, yeah - basically we don't let you actually sort 'score asc' - the field is labeled as "Relevancy" so we prefer to show the "asc" icon.
Comment #2
jpmckinney commentedOkay... still, confusing to people who are working with the module. Maybe add a comment explaining why score is being sorted in the wrong direction (and explaining why it doesn't matter)?
Comment #3
jpmckinney commentedFixed. The "Relevancy" field doesn't show an icon, so there is no reason to set the default to "score asc", which is unnecessarily confusing. http://drupal.org/cvs?commit=359034
Comment #4
jpmckinney commentedComment #5
jpmckinney commented