To be fair the second result seems consistent with the Solr grouping logic :

*First Query results (Suspicious)*
1) group.sort= score desc -> select the group head as you have 1 doc per
group( the head will be the top scoring doc per group)
2) sort=score asc -> sort the groups by the score of the head ascending ( so
the final resulting groups should be ascending in score)


*Second Query results ( CORRECT)*
1) group.sort= score desc -> select the group head as you have 1 doc per
group( the head will be the top scoring doc per group)
2) sort -> sort the groups by the score of the head ( so the final resulting
groups are sorted descending)

Are we sure the the sort is expected to sort the groups after the grouping
happened ?
I need to check the internals but I agree the current behaviour is not
intuitive.

Cheers





-----
---------------
Alessandro Benedetti
Search Consultant, R&D Software Engineer, Director
Sease Ltd. - www.sease.io
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Grouped-Result-sort-issue-tp4329255p4329292.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to