Re: Usage of Sort and fq

2009-09-29 Thread Matt Weber
A description and examples of both parameters can be found here: http://wiki.apache.org/solr/CommonQueryParameters Thanks, Matt Weber On Sep 29, 2009, at 4:10 AM, Avlesh Singh wrote: /?q=*:*&fq:category:animal&sort=child_count%20asc Search for all documents (of animals), and filter the ones

Re: Usage of Sort and fq

2009-09-29 Thread Avlesh Singh
/?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=..." param