You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Holger Bruch (JIRA)" <ji...@apache.org> on 2018/01/07 15:28:00 UTC

[jira] [Created] (LUCENE-8124) Hyphenation patterns with indicator 7 or 8 fail

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org