Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 70461 invoked from network); 18 Sep 2010 13:01:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Sep 2010 13:01:19 -0000 Received: (qmail 63173 invoked by uid 500); 18 Sep 2010 13:01:18 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 62743 invoked by uid 500); 18 Sep 2010 13:01:15 -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 62726 invoked by uid 99); 18 Sep 2010 13:01:14 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 13:01:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 13:00:56 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8ID0Yv5000067 for ; Sat, 18 Sep 2010 13:00:35 GMT Message-ID: <16349841.274111284814834816.JavaMail.jira@thor> Date: Sat, 18 Sep 2010 09:00:34 -0400 (EDT) From: "Yonik Seeley (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (SOLR-2123) Search Grouping: Group by query (like facet.query) In-Reply-To: <1863794.257551284750100819.JavaMail.jira@thor> 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-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12911011#action_12911011 ] Yonik Seeley commented on SOLR-2123: ------------------------------------ OK, so I'm thinking to treat this just like faceting... group.query=foo:bar will give you the top docs that match that query. This is the current format for group.field: {code} "grouped":{ "popularity":{ "matches":19, "groups":[{ "groupValue":6, "doclist":{"numFound":5,"start":0,"docs":[ {code} And this is what I propose for group.query (which basically just drops the "groups" list and goes straight to a doclist. {code} "grouped":{ "foo:bar":{ "matches":19, "doclist":{"numFound":5,"start":0,"docs":[ {code} > Search Grouping: Group by query (like facet.query) > -------------------------------------------------- > > Key: SOLR-2123 > URL: https://issues.apache.org/jira/browse/SOLR-2123 > Project: Solr > Issue Type: Sub-task > Reporter: Yonik Seeley > -- 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-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org