lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (SOLR-1682) Implement CollapseComponent
Date Tue, 17 Aug 2010 13:26:19 GMT


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:
>             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,
> 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:
For additional commands, e-mail:

View raw message