Closed (works as designed)
Project:
Apache Solr Search
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Jun 2011 at 16:06 UTC
Updated:
25 Oct 2011 at 23:00 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedI'm also interested in this functionality as well as being able to sort by Taxonomy terms
Comment #2
alex72rm commentedI solved by myself.
I've defined a custom module where I set up an hook.
and 'tds_cck_field_publication_date' is the ID, taken from URL when I go over a link on cck date facet block (previously defined).
Comment #3
Anonymous (not verified) commentedWould this approach work for Taxonomy as well? I have several Taxonomy vocabularies that I'd like to sort the results by.
Comment #4
alex72rm commentedI tried that too, but unfortunately the only variable available now is the term's tid, that being a number does not allow the alphabetical sort you need. We need the help of someone who knows more about ...
Comment #5
acbramley commentedI've tried doing this in drupal 7 with no luck either. under admin/reports/apachesolr it says my date field is in the index (dm_24_field_date_publication) but when I add an available sort with:
I get "The Apache Solr search engine is not available. Please contact your site administrator." when trying to sort by it. I've also tried adding the field to the index using a similar approach as http://drupalconnect.com/blog/steve/creating-custom-sorts-apache-solr but still no luck.