[ 
https://issues.apache.org/jira/browse/SOLR-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695162#comment-13695162
 ] 

Bryan Bende commented on SOLR-2072:
-----------------------------------

According to that documentation "sort=popularity desc will cause the groups to 
be sorted according to the highest popularity doc in each group".

What I want to do is something like "sort=popularity asc, group.field=label, 
group.sort=popularity desc, group.limit=1" so essentially the most popular 
document in each group, but in least popular order across the groups. This 
works when running a single non-distributed instance of Solr, but when starting 
Solr with numShards >= 1 it behaves differently.

I wrote up a description of the problem on the mailing list, but no one 
provided any feedback:
http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201306.mbox/%3CCALo_M18WVoLKvepJMu0wXk_x2H8cv3UaX9RQYtEh4-mksQHLBA%40mail.gmail.com%3E
                
> Search Grouping: expand group sort options
> ------------------------------------------
>
>                 Key: SOLR-2072
>                 URL: https://issues.apache.org/jira/browse/SOLR-2072
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Yonik Seeley
>         Attachments: SOLR-2072-01.patch
>
>
> Ability to specify functions over group documents when sorting groups.  
> max(score) or avg(popularity), etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to