Lucene - Core
  1. Lucene - Core
  2. LUCENE-4724

TaxonomyReader drops empty string component from CategoryPath

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2, Trunk
    • 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?

      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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development