You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2016/06/29 14:03:17 UTC

[jira] [Commented] (LUCENE-7363) DecimalDigitFilter skips chars in case of supplementary code points

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

Steve Rowe commented on LUCENE-7363:
------------------------------------

+1, tricky since the loop control variable is over a shrinking series.

> DecimalDigitFilter skips chars in case of supplementary code points
> -------------------------------------------------------------------
>
>                 Key: LUCENE-7363
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7363
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>         Attachments: LUCENE-7363.patch
>
>
> It does {{length = StemmerUtil.delete(buffer,++i, length);}} while it should really do {{length = StemmerUtil.delete(buffer,i+1, length);}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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