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 17:35:03 UTC

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

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

Peter Wright edited comment on LUCENENET-542 at 6/5/14 3:34 PM:
----------------------------------------------------------------

I'd have to revert my code back and run some indexing first but basically I stepped through the code and spotted the issue due to my logs not showing my query text as being stemmed when attempting running a search


was (Author: pnwright):
I'd have to revert my code back and run some indexing first but basically I stepped through the code and spotted it as my logs weren't showing my text as being stemmed when attempting to do a search

> 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)