I want to group my results by a field named "group_id".

According to http://wiki.apache.org/solr/FieldCollapsing , for each unique 
value of group_id a docList with the top scoring document is returned.

But in my case I want to sort the results within each "group_id" by an int 
field "popularity" instead. So within each "group_id" I just want the document 
with the highest "popularity". 

Is it possible to do that?

Thanks.


      

Reply via email to