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

Martijn van Groningen commented on SOLR-2072:
---------------------------------------------

Currently the AbstractFirstPassGroupingCollector uses the most relevant 
document of a group to determine the order of a group in the result set. The 
values for the most relevant document are either fetched from the score or 
field cache (and possible also doc values in 4.x).

I think it is best to add more first pass grouping collectors, that use 
different ways to order groups. Implementations could do this based on the 
average group score or number of hits per group. I do think that these 
implementations will be more expensive. Sorting by hit count or avg score 
requires the collector to keep track of all groups. Currently 
AbstractFirstPassGroupingCollector keeps only track of the top N groups.
                
> 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
>
> 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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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