You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Shad Storhaug (JIRA)" <ji...@apache.org> on 2017/05/05 20:52:04 UTC

[jira] [Resolved] (LUCENENET-542) Snowball Analyser - stemming issue

     [ https://issues.apache.org/jira/browse/LUCENENET-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shad Storhaug resolved LUCENENET-542.
-------------------------------------
    Resolution: Fixed
      Assignee: Shad Storhaug

Fixed via commit https://github.com/apache/lucenenet/commit/cf19759fa880fef96962dacda2f1288e347b71bb

> 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, Lucene.Net.Analysis.Common
>    Affects Versions: Lucene.Net 3.0.3, Lucene.Net 4.8.0
>         Environment: Windows 7 / Windows server 2008 Microsoft.NET 4.0
>            Reporter: Peter Wright
>            Assignee: Shad Storhaug
>              Labels: easyfix
>             Fix For: Lucene.Net 4.8.0, Lucene.Net 3.0.3
>
>
> 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.3.15#6346)