Lucene - Core
  1. Lucene - Core
  2. LUCENE-3573

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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.

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

        Activity

        Doron Cohen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Doron Cohen made changes -
        Attachment LUCENE-3573.patch [ 12503895 ]
        Doron Cohen made changes -
        Attachment LUCENE-3573.patch [ 12503740 ]
        Doron Cohen made changes -
        Field Original Value New Value
        Attachment LUCENE-3573.patch [ 12503622 ]
        Doron Cohen created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development