lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn van Groningen (JIRA)" <>
Subject [jira] Updated: (SOLR-1682) Implement CollapseComponent
Date Mon, 16 Aug 2010 20:02:18 GMT


Martijn van Groningen updated SOLR-1682:

    Attachment: SOLR-1682.patch

I've attached a new patch that allows the user to specify:
group.sort=<field> <order> - This activates the TopGroupSortCollector 1st phase
collector (which extends the TopGroupCollector). The Phase2GroupCollector stayed the same.
Only the sort argument is the group sort.

Also I've added the first tests in TestGroupingSearch mainly for the group sorting. 
I also created GroupSortCommand that holds the group sort which is a subclass of GroupCommandFunc.
I'm not sure but maybe this belongs in this GroupCommandFunc, b/c it is a common functionality.

bq. The "docsPerGroup" name seems a little more verbose than normal - anyone have shorter
ideas? Perhaps some kind of limit/offset params for the docs in a group.
I like group.limit and group.offset. This allows the user to paginate the group docs. On the
other side doing this will properly be memory ineffecient just like deep paging only in this
case worse b/c it done on all groups.

> 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