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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.6, 9.0
    • Facet Module
    • 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
          3 kB
          Chris M. Hostetter
        2. SOLR-14520.patch
          6 kB
          Chris M. Hostetter
        3. SOLR-14520.patch
          6 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: