Closed (fixed)
Project:
Facet API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Nov 2009 at 17:22 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
cmjns commentedThe patch posted here didn't work for me (unsurprisingly, since it's about a year old). Here's a new patch. The bulk of the work is in apachesolr_date_facet_block(), where sort options are applied. I noticed that the sort options present in every other block were if'd out for the date blocks. I figure this must be because the settings that apply everywhere else don't really apply to the date blocks (i.e., string sorting). The current patch simply re-enables these options, without addressing the presence of extraneous sort options.
I suppose, though I don't see why, that someone actually might want to sort, e.g., by date part names. If so, then all the sort options do apply, after all. But that's outside the scope of this patch.
Comment #2
jpmckinney commentedAdd tag
Comment #3
jpmckinney commentedComment #4
pwolanin commentedMay be obsolete due to the shift to using Facet API
Comment #5
cpliakas commentedFacet API supports advanced sorting via the GUI, satisfying the use case posted above as the next release of Apache Solr will leverage Facet API. See the attached screenshot for an example of what the UI provides.
Thanks,
Chris