lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Coult (JIRA)" <>
Subject [jira] [Commented] (SOLR-8023) Add Support for group.facet in json facet API
Date Sat, 24 Dec 2016 17:42:58 GMT


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

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

View raw message