[ 
https://issues.apache.org/jira/browse/LUCENE-8124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16333971#comment-16333971
 ] 

ASF subversion and git services commented on LUCENE-8124:
---------------------------------------------------------

Commit f5e2267097df5bee3942c719facbca137a56f3f8 in lucene-solr's branch 
refs/heads/master from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f5e2267 ]

LUCENE-8124: Fixed HyphenationCompoundWordTokenFilter to handle correctly 
hyphenation patterns with indicator >= 7.


> 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