To confirm that the "Sort field" in the form is not being processed, try setting "Debug" ON in the Solr Client and run a search. You can then see in the Solr search array dump that "sort" is not a parameter being used in the Solr search. I've confirmed this behavior on the current Islandora Sandbox as well.
Looking at two of the files involved in processing the form output parameters, namely,
Danny_Joris
unread,
May 5, 2012, 11:15:28 PM5/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to isla...@googlegroups.com
Hello Peter,
You're absolutely right. Thanks for taking the time to point this out. It has been discussed in the previous committers meeting. In the short term the plan is to remove it, but in the longer term we're also planning to change the way we process solr queries, which would include better support for sorting. In that case it makes sense to keep this functionality.
Do you have a specific or immediate need for this?
Cheers, Danny
Peter MacDonald
unread,
May 6, 2012, 11:42:47 AM5/6/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to isla...@googlegroups.com
Danny:
Our metadata librarian thought the records in the Solr results should at least be in title alphabetic order. Right now, the last object edited in Fedora appears at the end of the results set. That appears to her to be rather arbitrary -- I think I agree. It should at least be by relevance (&sort=score).
In the library world we are used to being able to sort result sets in our ILS. I can't say this is an urgent problem for us, though, but it does deserve revisiting by the Islandora developer community.
Thanks for replying,
Peter
--
You received this message because you are subscribed to the Google Groups "islandora" group.