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 18E6669C5 for ; Mon, 16 May 2011 15:10:31 +0000 (UTC) Received: (qmail 86644 invoked by uid 500); 16 May 2011 15:10:29 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 86545 invoked by uid 500); 16 May 2011 15:10:29 -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 86538 invoked by uid 99); 16 May 2011 15:10:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2011 15:10:29 +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, 16 May 2011 15:10:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6DDE3CC363 for ; Mon, 16 May 2011 15:09:47 +0000 (UTC) Date: Mon, 16 May 2011 15:09:47 +0000 (UTC) From: "Martijn van Groningen (JIRA)" To: dev@lucene.apache.org Message-ID: <948400122.15452.1305558587419.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <107062003.13039.1305383267974.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3098) Grouped total count 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/LUCENE-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034050#comment-13034050 ] Martijn van Groningen commented on LUCENE-3098: ----------------------------------------------- That is true. It is just a simple un-orded collection of all values of the group field that have matches the query. I'll include this as well. > Grouped total count > ------------------- > > Key: LUCENE-3098 > URL: https://issues.apache.org/jira/browse/LUCENE-3098 > Project: Lucene - Java > Issue Type: New Feature > Reporter: Martijn van Groningen > Fix For: 3.2, 4.0 > > Attachments: LUCENE-3098-3x.patch, LUCENE-3098.patch, LUCENE-3098.patch, LUCENE-3098.patch > > > When grouping currently you can get two counts: > * Total hit count. Which counts all documents that matched the query. > * Total grouped hit count. Which counts all documents that have been grouped in the top N groups. > Since the end user gets groups in his search result instead of plain documents with grouping. The total number of groups as total count makes more sense in many situations. -- 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