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

TaxonomyReader drops empty string component from CategoryPath

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2, 6.0
    • modules/facet
    • None
    • New, Patch Available

    Description

      I ran the new PrintTaxonomyStats on a Wikipedia facets index, and it hit an AIOOBE because there was a child of the /categories path that had only one component ... this was created because I had added new CategoryPath("categories", "") during indexing.

      I think TaxoReader should preserve and return that empty string from .getPath?

      Attachments

        1. LUCENE-4724.patch
          5 kB
          Shai Erera
        2. LUCENE-4724.patch
          4 kB
          Michael McCandless
        3. LUCENE-4724.patch
          1 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: