You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Petter Remen (JIRA)" <ji...@apache.org> on 2013/03/23 08:47:14 UTC
[jira] [Closed] (SOLR-4630) Facet count not working when tagging &
excluding filters for query facets with group.facet true
[ https://issues.apache.org/jira/browse/SOLR-4630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Petter Remen closed SOLR-4630.
------------------------------
Resolution: Duplicate
> Facet count not working when tagging & excluding filters for query facets with group.facet true
> -----------------------------------------------------------------------------------------------
>
> Key: SOLR-4630
> URL: https://issues.apache.org/jira/browse/SOLR-4630
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 4.2
> Reporter: Petter Remen
>
> {noformat}
> q=*:*&
> rows=0&
> facet=true&
> facet.field={!ex=code}ssis_program_code&
> facet.query={!ex=code}*:*&
> fq={!tag=code}ssis_program_code:TKITE&
> group=true&
> group.facet=true&
> group.field=ssis_course_id
> {noformat}
> Unfortunately, the facet.query returns the number of hits *after* the filter query has been applied. The exclusion works if I remove the group parameters. But then of course the counts are number of documents, not number of groups.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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