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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • modules/facet
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment