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

Hyphenation patterns with indicator >=7 fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.3, 8.0
    • modules/analysis
    • None
    • New, Patch Available

    Description

      Hyphenation patterns containing an hyphenation indicator 7, 8 or 9 at an uneven position don't work.

      This is caused by a wrong bit shifting operation at HyphenationTree.getValue which should read ((v & 0x0f0)>>>4)

      Attachments

        1. fix_hyphenation.patch
          2 kB
          Holger Bruch
        2. testcase.patch
          3 kB
          Holger Bruch

        Activity

          People

            Unassigned Unassigned
            systect Holger Bruch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: