You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Itamar Syn-Hershko (JIRA)" <ji...@apache.org> on 2014/06/16 23:56:02 UTC
[jira] [Commented] (LUCENENET-544) Turkish stemmer causes an
IndexOutOfRange
[ https://issues.apache.org/jira/browse/LUCENENET-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14033054#comment-14033054 ]
Itamar Syn-Hershko commented on LUCENENET-544:
----------------------------------------------
Hi, I can't confirm this. See this passing test: https://git-wip-us.apache.org/repos/asf?p=lucenenet.git;a=commit;h=c7aa99cd
If you can provide a failing test I'd be more than happy to look again
> Turkish stemmer causes an IndexOutOfRange
> -----------------------------------------
>
> Key: LUCENENET-544
> URL: https://issues.apache.org/jira/browse/LUCENENET-544
> Project: Lucene.Net
> Issue Type: Bug
> Components: Lucene.Net Contrib
> Environment: Windows 7 x64, .NET 4.0
> Reporter: Peter Wright
> Attachments: Turkish3.txt
>
>
> Certain words in the Turkish stemmer is causing SnowballProgram to throw an index out of range exception in the method "find_among_b(Among[] v, int v_size)".
> Line 353
> diff = current[c - 1 - common] - w.s[i2];
> current[c - 1 - common] 'current[c - 1 - common]' threw an exception of type 'System.IndexOutOfRangeException' char {System.IndexOutOfRangeException}
> - current {ı} System.Text.StringBuilder
> Length 1 int
> c 8 int
> common 0 int
--
This message was sent by Atlassian JIRA
(v6.2#6252)