Petter Remen created SOLR-4630:
----------------------------------

             Summary: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to