Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 97341 invoked from network); 10 May 2008 08:22:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 May 2008 08:22:56 -0000 Received: (qmail 72306 invoked by uid 500); 10 May 2008 08:22:52 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 72268 invoked by uid 500); 10 May 2008 08:22:52 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 72257 invoked by uid 99); 10 May 2008 08:22:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2008 01:22:51 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stephen.cresswell@gmail.com designates 209.85.132.244 as permitted sender) Received: from [209.85.132.244] (HELO an-out-0708.google.com) (209.85.132.244) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2008 08:21:55 +0000 Received: by an-out-0708.google.com with SMTP id c37so350481anc.49 for ; Sat, 10 May 2008 01:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; bh=TVi4WiJjAzkIx2YEXvxVxQU2RCjuYcL+eyAaEk9988I=; b=u7Z+9o2tOR4umaebxLX7GwzN8zmtyhFOXLkookvMXgNTjhsS5PHKC3GXKHptWzktb4Sp7EwHauejC7tABewJGqhcg0geLNXYR7RddW1LlbF4TMjDf2414VtJmwwuxrCr1C7Da/luBYzdIfyTWCeQZJbXYNVyQJMDlwfxjDX8zVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=uap84hRsmjQjUoYNkCCIB4XjXuNF7/Ooj3+/BlHK1sN8QD/FFRj2HzGpbulYXeN0EPN2ERf9NkbnzIs6YCM94hzN4mGs5Zj4wvI8NEAy6FTohwGB8vytOfT0u8Z1BDMUz37HGJm7YlbTIiB7edqb+DI7Js8aWhG9lDDv8wTktCk= Received: by 10.101.69.6 with SMTP id w6mr6739546ank.92.1210407735979; Sat, 10 May 2008 01:22:15 -0700 (PDT) Received: by 10.100.229.17 with HTTP; Sat, 10 May 2008 01:22:15 -0700 (PDT) Message-ID: Date: Sat, 10 May 2008 09:22:15 +0100 From: "Stephen Cresswell" Reply-To: email@stephen-cresswell.net To: java-user@lucene.apache.org Subject: Re: Fwd: Snowball not finding "purple" In-Reply-To: <200805100945.39580@danielnaber.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11756_20665700.1210407735993" References: <200805100912.05769@danielnaber.de> <200805100945.39580@danielnaber.de> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_11756_20665700.1210407735993 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Daniel, Think you've cracked it thanks. If I search for "purpl" I get the hits I expect. Suspect I'm doing something wrong with compass as I presume it should be converting "purple" to "purpl" before passing the query to lucene. I've tried explicitly telling it to use snowball at point of query, but it didn't make any difference. Guess I'll have to start pestering the grails mailing list. Thanks very much for your help. Steve 2008/5/10 Daniel Naber : > On Samstag, 10. Mai 2008, Stephen Cresswell wrote: > > > If it was a difference between indexing / querying, why would lucene > > find the word "ribbon" and not "purple" even though they appear in the > > same document and are both exact matches? > > Using Snowball, "purple" becomes "purpl" but "ribbon" isn't modified, at > least according to the online demo at > http://snowball.tartarus.org/demo.php. Not sure if that's exactly the same > algorithm. > > Regards > Daniel > > -- > http://www.danielnaber.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > ------=_Part_11756_20665700.1210407735993--