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

TaxonomyReader.refresh() is broken, replace its logic with reopen(), following IR.reopen pattern

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: modules/facet
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      When recreating the taxonomy index, TR's assumption that categories are only added does not hold anymore.
      As result, calling TR.refresh() will be incorrect at best, but usually throw an AIOOBE.

        Attachments

        1. LUCENE-3573.patch
          3 kB
          Doron Cohen
        2. LUCENE-3573.patch
          19 kB
          Doron Cohen
        3. LUCENE-3573.patch
          17 kB
          Doron Cohen

          Activity

            People

            • Assignee:
              doronc Doron Cohen
              Reporter:
              doronc Doron Cohen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: