Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      currently we build TreeMap<String,List<Character>> in ram, to sort before adding to the FST (which encodes the list as IntsRef).

      char overflows here if there are more than 64k affixes (e.g. basque).

      1. LUCENE-5838.patch
        6 kB
        Robert Muir
      2. LUCENE-5838.patch
        1.00 MB
        Robert Muir

        Activity

        Hide
        Robert Muir added a comment -

        patch with a minimal test.

        Show
        Robert Muir added a comment - patch with a minimal test.
        Hide
        Robert Muir added a comment -

        patch with test that generates its own file, so it doesnt need a 1MB test data file.

        Show
        Robert Muir added a comment - patch with test that generates its own file, so it doesnt need a 1MB test data file.
        Hide
        ASF subversion and git services added a comment -

        Commit 1612349 from Robert Muir in branch 'dev/trunk'
        [ https://svn.apache.org/r1612349 ]

        LUCENE-5838: fix hunspell when .aff file has over 64k affixes

        Show
        ASF subversion and git services added a comment - Commit 1612349 from Robert Muir in branch 'dev/trunk' [ https://svn.apache.org/r1612349 ] LUCENE-5838 : fix hunspell when .aff file has over 64k affixes
        Hide
        ASF subversion and git services added a comment -

        Commit 1612351 from Robert Muir in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1612351 ]

        LUCENE-5838: fix hunspell when .aff file has over 64k affixes

        Show
        ASF subversion and git services added a comment - Commit 1612351 from Robert Muir in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1612351 ] LUCENE-5838 : fix hunspell when .aff file has over 64k affixes

          People

          • Assignee:
            Unassigned
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development