You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Peter Wright (JIRA)" <ji...@apache.org> on 2014/06/05 15:19:02 UTC
[jira] [Updated] (LUCENENET-542) Snowball Analyser - stemming issue
[ https://issues.apache.org/jira/browse/LUCENENET-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Wright updated LUCENENET-542:
-----------------------------------
Description:
Source file: SF\Snowball\SnowballProgram.cs
Type: SF.Snowball.SnowballProgram
methods: find_among(Among[] v, int v_size), find_among_b(Among[] v, int v_size)
lines: 303, 394
issue: resobj.ToString().Equals("true");
in .NET the "ToString()" method on a boolean type returns "True" or "False", therefore comparing "True" to "true" will return false.
was:
methods: find_among(Among[] v, int v_size), find_among_b(Among[] v, int v_size)
lines: 303, 394
issue: resobj.ToString().Equals("true");
in .NET the "ToString()" method on a boolean type returns "True" or "False", therefore comparing "True" to "true" will return false.
> Snowball Analyser - stemming issue
> ----------------------------------
>
> Key: LUCENENET-542
> URL: https://issues.apache.org/jira/browse/LUCENENET-542
> Project: Lucene.Net
> Issue Type: Bug
> Components: Lucene.Net Contrib
> Affects Versions: Lucene.Net 3.0.3
> Environment: Windows 7 / Windows server 2008 Microsoft.NET 4.0
> Reporter: Peter Wright
> Labels: easyfix
>
> Source file: SF\Snowball\SnowballProgram.cs
> Type: SF.Snowball.SnowballProgram
> methods: find_among(Among[] v, int v_size), find_among_b(Among[] v, int v_size)
> lines: 303, 394
> issue: resobj.ToString().Equals("true");
> in .NET the "ToString()" method on a boolean type returns "True" or "False", therefore comparing "True" to "true" will return false.
--
This message was sent by Atlassian JIRA
(v6.2#6252)