lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn van Groningen (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3098) Grouped total count
Date Mon, 16 May 2011 19:06:47 GMT


Martijn van Groningen updated LUCENE-3098:

    Attachment: LUCENE-3098.patch

Attached a new patch.

* Renamed TotalGroupCountCollector to AllGroupsCollector. This rename reflects more what the
collector is actual doing.
* Group values are now collected in an ArrayList instead of a LinkedList. The initialSize
is now also used for the ArrayList.

> Grouped total count
> -------------------
>                 Key: LUCENE-3098
>                 URL:
>             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,
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:

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

View raw message