Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E562C4434 for ; Mon, 23 May 2011 06:07:36 +0000 (UTC) Received: (qmail 83841 invoked by uid 500); 23 May 2011 06:07:34 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 83794 invoked by uid 500); 23 May 2011 06:07:32 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 83786 invoked by uid 99); 23 May 2011 06:07:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 06:07:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 06:07:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9C476D8260 for ; Mon, 23 May 2011 06:06:47 +0000 (UTC) Date: Mon, 23 May 2011 06:06:47 +0000 (UTC) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Message-ID: <1706733382.35258.1306130807637.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1189270269.21129.1305675707295.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2524) Adding grouping to Solr 3x MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037745#comment-13037745 ] Hoss Man commented on SOLR-2524: -------------------------------- bq. Solr trunk already has its own grouping implementation, from which we've factored out a shared grouping module (see LUCENE-1421). That module is available in trunk and 3.x, but since Solr already has grouping in trunk, and it has more features than the grouping module (specifically, that you can group by docvalues derived from a function query and by arbitrary query), Solr trunk will for now keep its own private impl. FWIW: I'm a little wary of the idea that we might wind up with an alternate approach to the "grouping" functionality released in 3.2 then what would then later be released in 4.0 ... i haven't looked at the approach in branch enough to understand how they differ, but i'm concerned about the hypothetical possibilities that they might have subtly differnet behavior in edge cases, or different perf characteristics, or that 3.2 might add a feature that is hard to support in 4.0, etc.... I say this only to raise it as a red flag to watch out for -- not because i want to stop the progress on this issue. The first question that sprang to mind when i saw this issue was: is backporting what solr already uses on trunk to the 3x branch out of the question? assuming it is, then i guess the main thing that would help ease my fears are if: 1) 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 2) 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. > Adding grouping to Solr 3x > -------------------------- > > Key: SOLR-2524 > URL: https://issues.apache.org/jira/browse/SOLR-2524 > 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: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org