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

Hyphenation patterns with indicator >=7 fail

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3, 8.0
    • Component/s: modules/analysis
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: