[ https://issues.apache.org/jira/browse/LUCENE-8124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16315881#comment-16315881 ]
Adrien Grand commented on LUCENE-8124: -------------------------------------- Thanks Holger! The patch looks good, could you also provide a test case? > Hyphenation patterns with indicator >=7 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org