Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4630

Facet count not working when tagging & excluding filters for query facets with group.facet true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 4.2
    • None
    • search
    • None

    Description

      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
      

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              petterremen Petter Remen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: