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

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 4.2
    • Fix Version/s: None
    • Component/s: search
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              petterremen Petter Remen

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment