[jira] [Updated] (SOLR-2072) Search Grouping: expand group sort options

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Updated] (SOLR-2072) Search Grouping: expand group sort options

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/SOLR-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George P. Stathis updated SOLR-2072:

    Attachment: SOLR-2072-01.patch

Attaching a first prototype pass with a unit test to get the conversation going. I'm pretty sure this is not going to win any performance contests but it's still worth sparking some discussion around it. The prototype shows an implementation of a sum(scores) group sort. The approach basically relaxes the visibility of some AbstractFirstPassGroupingCollector properties so that sub-classes can do more with the state encapsulated in the abstract class. A new collector is introduced based on TermFirstPassGroupingCollector but implementing its' own collect method. A specialized comparator is used to sum up the document scores for each group.

Looking forward to some feedback.

> 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: 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: [hidden email]
For additional commands, e-mail: [hidden email]