Holger Bruch created LUCENE-8124:
------------------------------------

             Summary: Hyphenation patterns with indicator 7 or 8 fail
                 Key: LUCENE-8124
                 URL: https://issues.apache.org/jira/browse/LUCENE-8124
             Project: Lucene - Core
          Issue Type: Bug
          Components: modules/analysis
            Reporter: Holger Bruch
         Attachments: fix_hyphenation.patch

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|https://github.com/apache/lucene-solr/blob/master/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/hyphenation/HyphenationTree.java#L154]
 which should read ((v & 0x0f0)>>>4)





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to