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

Solr 3.4 group.truncate does not work with facet queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Later
    • 3.4
    • None
    • search
    • Solr 3.4 on Windows Server 2008.

    Description

      When using Grouping with group.truncate=true, The following simple facet query:
      facet.query=Monitor_id:[380000 TO 400000]

      Doesn't give the same number as the nGroups result for the equivalent filter query:
      fq=Monitor_id:[380000 TO 400000]

      From the Wiki page: 'group.truncate: If true, facet counts are based on the most relevant document of each group matching the query.'

      If I turn off group.truncate then the counts are the same, as I'd expect - but unfortunately I'm only interested in the grouped results.

      Asked this question on the Solr-user mailing list and was told it is likely a bug by: Martijn Groningen.

      I'd be very interested in any workaround for this bug!

      Attachments

        Activity

          People

            Unassigned Unassigned
            iangrainger Ian Grainger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: