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

Yonik Seeley commented on SOLR-1682:
------------------------------------

bq. Groups are sorted by the first and most relevant document in a group.

Going back to a specific example... assuming we are sorting by price asc within 
a single group, but sorting groups by popularity desc (however that's defined).
So we have 2 sane choices about what the popularity of a group is:
1) the popularity of a group is the lowest price doc (i.e. the first in the 
list for that group).  - this is what you did
2) the popularity of a group is the max among all docs in that group

I wonder which will be more useful to people?  Do we need both?
#2 can be trivially implemented with the existing collectors (just use 
different sorts at the different stages)

> Implement CollapseComponent
> ---------------------------
>
>                 Key: SOLR-1682
>                 URL: https://issues.apache.org/jira/browse/SOLR-1682
>             Project: Solr
>          Issue Type: Sub-task
>          Components: search
>            Reporter: Martijn van Groningen
>            Assignee: Shalin Shekhar Mangar
>             Fix For: Next
>
>         Attachments: field-collapsing.patch, SOLR-1682.patch, 
> SOLR-1682.patch, SOLR-1682.patch, SOLR-1682.patch, SOLR-1682_prototype.patch, 
> SOLR-1682_prototype.patch, SOLR-1682_prototype.patch, SOLR-236.patch
>
>
> Child issue of SOLR-236. This issue is dedicated to field collapsing in 
> general and all its code (CollapseComponent, DocumentCollapsers and 
> CollapseCollectors). The main goal is the finalize the request parameters and 
> response format.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to