[ 
https://issues.apache.org/jira/browse/LUCENE-8124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien Grand resolved LUCENE-8124.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 7.3
                   master (8.0)

Thanks Holger!

> 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
>            Priority: Major
>             Fix For: master (8.0), 7.3
>
>         Attachments: fix_hyphenation.patch, testcase.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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to