/?q=*:*&fq:category:animal&sort=child_count%20asc Search for all documents (of animals), and filter the ones that belong to the category "animal" and sort ascending by a field called child_count that contains number of children for each animal.
You can pass multiple fq's with more "&fq=..." parameters. Secondary, tertiary sorts can be specified using comma (",") as the separator. i.e. "sort=fieldA asc,fieldB desc, fieldC asc, ..." Cheers Avlesh On Tue, Sep 29, 2009 at 3:51 PM, bhaskar chandrasekar <bas_s...@yahoo.co.in>wrote: > Hi, > > Can some one let me know how to use sort and fq parameters in Solr. > Any examples woould be appreciated. > > Regards > Bhaskar > > >