When you do a Solr search, are the results sorted by Title > Type > Author > Date by default (since the links appear in that order, and those links have a 'class="active"') ?
If yes, would it make sense to have a desc (or asc) icon displayed next to them right after a user ran a search (instead of only after the click on a sort link), to make clear(er) that those sorts are active? If they're not sorted like this by default, I'm wondering why these links have a 'class="active"'?
Comments
Comment #1
JacobSingh commentedHi,
The results are default sorted by relevancy. Why do they have class active... good question :)
I'm not sure. Perhaps RobertDouglass or DrunkenMonkey can answer that.
Comment #2
janusman commentedPutting in my $0.01 worth of usability knowledge, a "sort by relevancy" (rank? score? relevancy?) link is missing, and should be added (makes the interface clearer-- if none of the current sorts are selected, how would the user know what the default sort is?)
Comment #3
JacobSingh commented@janusman:
Let's add a sort by irrelevancy link as well...
Comment #4
brunodboTypo in the initial title. Also curious what 'relevancy' refers to.
Comment #5
JacobSingh commented@brunodbo:
Relevancy is based on a myriad of factors, but is primarily how frequently the keyword appeared in the article, and where in the article. However, indexes can also be biased by date, length, etc...
I'm updating this ticket title to what actually has to be done as per janusman's suggestion.
Comment #6
robertdouglass commentedI don't know why the current sorts have class active. Probably because the path stays the same and the sort parameter gets sent in with its own variable name.
Adding a default sort by relevancy that clearly shows itself as active is a good idea. This also functions as an "unclick" link if you've done some other sort and want to get back to the original state.
Comment #7
robertdouglass commentedComment #8
robertdouglass commentedcritical = blocking issue for 1.0 release.
Comment #9
pahariwalla commentedI've added a sort by "Relevancy" link as a part of a separate issue #270604: Clicking facet link destroys sort. Did not deal with "irrelevancy".. umm...
I also noticed that this may overlap with yet another larger effort #258626: Add "your current search" block
Comment #10
janusman commented@pahariwalla: you're joking with the irrelevancy thing, right? =)
I say this is fixed as per #270604: Clicking facet link destroys sort!
Comment #11
pahariwalla commentedheh heh ... actually @JacobSingh was the one who brought up irrelevancy ... I'm guessing he was joking, but the fact the he mentioned it may be relevant, and knowing Jacob .... ;-)
Comment #12
JacobSingh commentedOkay, I guess we'll go with relevancy then...
Dupe of: http://drupal.org/node/270604
(closing)