From dev-return-7607-apmail-lucenenet-dev-archive=lucenenet.apache.org@lucenenet.apache.org Thu Jun 5 15:35:04 2014 Return-Path: X-Original-To: apmail-lucenenet-dev-archive@www.apache.org Delivered-To: apmail-lucenenet-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C751C9F8 for ; Thu, 5 Jun 2014 15:35:04 +0000 (UTC) Received: (qmail 26612 invoked by uid 500); 5 Jun 2014 15:35:03 -0000 Delivered-To: apmail-lucenenet-dev-archive@lucenenet.apache.org Received: (qmail 26578 invoked by uid 500); 5 Jun 2014 15:35:03 -0000 Mailing-List: contact dev-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucenenet.apache.org Delivered-To: mailing list dev@lucenenet.apache.org Received: (qmail 26542 invoked by uid 99); 5 Jun 2014 15:35:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2014 15:35:03 +0000 Date: Thu, 5 Jun 2014 15:35:03 +0000 (UTC) From: "Peter Wright (JIRA)" To: dev@lucenenet.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (LUCENENET-542) Snowball Analyser - stemming issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)