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

Nick Coult commented on SOLR-8023:
----------------------------------

You can accomplish the same effect as group.facet=true using the facet API as 
it is today.  If group.field=myfield, then by adding the facet aggregation 
"unique(myfield)" to your JSON facet request you will get the facet counts 
equivalent to what group.facet=true would produce (and its actually a lot 
faster).

> Add Support for group.facet in json facet API
> ---------------------------------------------
>
>                 Key: SOLR-8023
>                 URL: https://issues.apache.org/jira/browse/SOLR-8023
>             Project: Solr
>          Issue Type: New Feature
>          Components: Facet Module
>    Affects Versions: 5.3.1
>         Environment: Solr5.3, Java 8, Apache Tomcat 8, Windows 7
>            Reporter: Vishnu Mishra
>             Fix For: 5.5
>
>
> While using Normal facet we can specify group.facet=true to do faceting on 
> grouped result. Can we add something similar functionality to Facet Module 
> (Json facet api).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to