You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by lavesh <la...@gmail.com> on 2013/04/10 16:19:11 UTC

Solr Sorting Not working properly

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":[ 
 { 
  ... 
} 
{"numFound":3,"start":0,"docs":[ 
 { 
  ... 
} 
However, I can't find a way to specify the sort order of the groups by
number of docs each group has ("numFound field). I think the "sort" param
has something to do with it, but I don't know how to use it.

Any help will be greatly appreciated!



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Sorting-Not-working-properly-tp4055052.html
Sent from the Solr - User mailing list archive at Nabble.com.