Re: Sorting groups by numFound group size

2011-09-07 Thread bobsolr
Hi Martijn, Thanks for the reply. Unfortunately I can't reference the group size using a function or by specifying a schema field, although I use those methods to sort docs within a group. Do you know if sort by group size is available/planned for a future release of solr(maybe 4.0)? if so, it mig

Sorting groups by numFound group size

2011-09-07 Thread bobsolr
Hi, I'm using this sample query to group the result set by category: q=test&group=true&group.field=category This works as expected and I get this sample response: "response": {"numFound":1,"start":0,"docs":[ { ... } {"numFound":6,"start":0,"docs":[ { ... } {"numFou