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

fix hunspell affix file loading

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.8, 6.0
    • modules/analysis
    • None
    • New

    Description

      Some newer dictionaries cant be loaded (arabic, hungarian, turkmen) just because we do a hackish mark/reset thing to go find the SET to know the encoding and then revisit.

      Problem is: we would need a 2MB buffer for some of these newer ones, thats a little extreme. So instead we just copy to a tempfile and do 2 passes.

      Also fixes a bug where an alias that goes to no flags would cause an exception (this is ok).

      Attachments

        1. LUCENE-5507.patch
          14 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: