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

Martijn van Groningen commented on SOLR-2564:
---------------------------------------------

{quote}
groupCount is now GROUPED or UNGROUPED, and is used to set "Accuracy" (more on 
that later 
Seems like this parameter should be a boolean that says if the total number of 
groups should be returned?
If true, we can add a "ngroups" or "groupCount" element at the same level as 
"matches". We should probably just name the parameter the same thing as the 
variable that gets returned... i.e. group.ngroups=true would cause "ngroups" to 
be populated (or groupCount if we decide that's a better name).
{quote}
I like that. I'll update the patch soon, so it includes ngroups together with 
matches, if group.ngroups=true is specified. 

bq. "method" should probably be reserved for the algorithm used for collapsing 
(as we do for faceting).
Maybe we can use this for letting the user choose one of the 
Term|Block|Function|*GroupCollectors. The collectors define the way how groups 
are created.

bq. However for now if it's easier, we could treat group.collapse=true to apply 
to the base query and all filters, and handle the use case I mentioned above 
via a qparser in the future
I agree let's commit this first and then start to enhance the collapse feature. 
The group.collapse should be included when LUCENE-3097 is finished which 
shouldn't take that long! 

> Integrating grouping module into Solr 4.0
> -----------------------------------------
>
>                 Key: SOLR-2564
>                 URL: https://issues.apache.org/jira/browse/SOLR-2564
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Martijn van Groningen
>            Assignee: Martijn van Groningen
>             Fix For: 4.0
>
>         Attachments: LUCENE-2564.patch, SOLR-2564.patch, SOLR-2564.patch, 
> SOLR-2564.patch
>
>
> Since work on grouping module is going well. I think it is time to wire this 
> up in Solr.
> Besides the current grouping features Solr provides, Solr will then also 
> support second pass caching and total count based on groups.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to