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

hunspell buggy with over 64k affixes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.10, 6.0
    • None
    • None
    • 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).

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: