You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Martijn van Groningen (JIRA)" <ji...@apache.org> on 2011/05/14 16:29:47 UTC

[jira] [Commented] (LUCENE-3098) Grouped total count

    [ https://issues.apache.org/jira/browse/LUCENE-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033537#comment-13033537 ] 

Martijn van Groningen commented on LUCENE-3098:
-----------------------------------------------

I think this can be implemented as separate collector and then together with the SecondPassGroupingCollector executed in the second search. We can use the MultiCollector for that.

> 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
>
>
> 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