If you want to have some categories before another ones, but the other
categories sorted alphabeticaly, you could create another field on your
index like cat_priority and put numerical values, so you can sort by this
field and by secondarily by your category name.

2008/5/27 anuvenk <[EMAIL PROTECTED]>:

>
> Question about sorting with solr. I want to group results in certain sort
> order so i can split them & display in tabs easily.
> I want to be able to have a custom sort order instead of sort=cat asc score
> desc
> In the above mentioned way, categories are grouped in ascending order. But
> i
> want certain categories to come up first in the sort order. I don't want
> them to be grouped in ascending order. Please shed some light anyone. How
> to
> do it. Is it possible?
> --
> View this message in context:
> http://www.nabble.com/solr-sorting-question-tp17498596p17498596.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
Alexander Ramos Jardim

Reply via email to