lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn van Groningen (JIRA)" <>
Subject [jira] [Commented] (SOLR-2524) Adding grouping to Solr 3x
Date Mon, 23 May 2011 07:57:47 GMT


Martijn van Groningen commented on SOLR-2524:

Hi Hoss,

bq. is backporting what solr already uses on trunk to the 3x branch out of the question?
Many folks have grouping like requirements. Nowadays they either have to use the trunk or
patch Solr. I think that having grouping in a released version would be great.

bq. we had identical Solr tests (at the request api level) on trunk and 3x to help sanity
check that the two impls behave the same way
I copied the grouping test from trunk to 3x. Only the random tests are not enabled. The general
super test class (that other tests also use) is not compatible between trunk and 3x.

bq. the folks working on the grouping refactoring felt confident that by the time we get arround
to releasing 4.0, the grouping refactoring would be at the point that the 3.2 impl and the
4.0 impl would be equivalent.
I totally agree. I haven't opened a Solr issue yet, but I will do that soon. Basically this
new issue will be concerned with incorporating the grouping module into Solr trunk without
the loss of the current grouping functionality. I think the at the time 4.0 is released the
feature set Solr supports regarding to grouping might be larger then what is in a previous
3.x release. We can keep the response format and request parameters backward compatible.

> Adding grouping to Solr 3x
> --------------------------
>                 Key: SOLR-2524
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 3.2
>            Reporter: Martijn van Groningen
>            Assignee: Michael McCandless
>         Attachments: SOLR-2524.patch, SOLR-2524.patch, SOLR-2524.patch
> Grouping was recently added to Lucene 3x. See LUCENE-1421 for more information.
> I think it would be nice if we expose this functionality also to the Solr users that
are bound to a 3.x version.
> The grouping feature added to Lucene is currently a subset of the functionality that
Solr 4.0-trunk offers. Mainly it doesn't support grouping by function / query.
> The work involved getting the grouping contrib to work on Solr 3x is acceptable. I have
it more or less running here. It supports the response format and request parameters (expect:
group.query and group.func) described in the FieldCollapse page on the Solr wiki.
> I think it would be great if this is included in the Solr 3.2 release. Many people are
using grouping as patch now and this would help them a lot. Any thoughts?

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message