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

Michael McCandless commented on SOLR-2564:
------------------------------------------

I think a good criteria for "correct" is if you were to click through on the 
facet (ie, take the current query and add a filter on facet field = facet 
value), would the hit count you see match the facet count you were just looking 
at?

Ie, drill down should be "consistent".

Both approaches will give the same facets counts if the field never varies 
within the group (ie, the field "belongs" to the "parent" docs); it's only 
"child" fields where you need faceting to be aware of the groups, so for apps 
that never display facets on child fields, only computing facets on the group 
heads will work.

I suspect doc blocks will be the only practical way to implement faceting on 
child fields efficiently.

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