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

TaxonomyReader drops empty string component from CategoryPath

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2, 6.0
    • Component/s: modules/facet
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: