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

json.facets: allBucket:true can cause server errors when combined with refine:true

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: master (9.0), 8.6
    • Component/s: Facet Module
    • Labels:
      None

      Description

      Another bug that was discovered while testing SOLR-14467...
      In some situations, using allBuckets:true in conjunction with refine:true can cause server errors during the "refinement" requests to the individual shards – either NullPointerExceptions from some (nested) SlotAccs when SpecialSlotAcc tries to collect them, or ArrayIndexOutOfBoundsException from CountSlotArrAcc.incrementCount because it's asked to collect to "large" slot# values even though it's been initialized with a size of '1'

      NOTE: these problems may be specific to FacetFieldProcessorByArrayDV - i have not yet seen similar failures from FacetFieldProcessorByArrayUIF (those are the only 2 used when doing refinement) but that may just be a fluke of testing.

        Attachments

        1. SOLR-14520.patch
          6 kB
          Chris M. Hostetter
        2. SOLR-14520.patch
          6 kB
          Chris M. Hostetter
        3. SOLR-14520.patch
          3 kB
          Chris M. Hostetter

          Issue Links

            Activity

              People

              • Assignee:
                hossman Chris M. Hostetter
                Reporter:
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: