Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5242

DirectoryTaxonomyWriter.replaceTaxonomy did not fully reset its state

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.5.1, 4.6, 6.0
    • modules/facet
    • None
    • New, Patch Available

    Description

      If you call DirTaxoWriter.replaceTaxonomy with a larger taxonomy than the current one, you may hit an AIOOBE on the next add category (or getParent) call. I'll attach a testcase + fix shortly.

      Attachments

        1. LUCENE-5242.patch
          3 kB
          Shai Erera

        Activity

          People

            shaie Shai Erera
            shaie Shai Erera
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: