Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 62590 invoked from network); 17 May 2007 21:33:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 May 2007 21:33:42 -0000 Received: (qmail 95385 invoked by uid 500); 17 May 2007 21:33:45 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 94958 invoked by uid 500); 17 May 2007 21:33:44 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 94332 invoked by uid 99); 17 May 2007 21:33:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2007 14:33:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2007 14:33:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7599F714072 for ; Thu, 17 May 2007 14:33:16 -0700 (PDT) Message-ID: <16704353.1179437596479.JavaMail.jira@brutus> Date: Thu, 17 May 2007 14:33:16 -0700 (PDT) From: "Daniel Naber (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-883) make spell checker test case work again In-Reply-To: <5390652.1179437596154.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Naber updated LUCENE-883: -------------------------------- Attachment: lucene-spellchecker-2.diff patch to make test case work again > make spell checker test case work again > --------------------------------------- > > Key: LUCENE-883 > URL: https://issues.apache.org/jira/browse/LUCENE-883 > Project: Lucene - Java > Issue Type: Bug > Affects Versions: 2.1 > Reporter: Daniel Naber > Attachments: lucene-spellchecker-2.diff > > > See attached path which makes the spellchecker test case work again. The problem without the patch is that consecutive calls to indexDictionary() will create a spelling index with duplicate words. Does anybody see a problem with this patch? I see that the spellchecker code is now used in Solr, isn't it? I didn't have time to test this patch inside Solr. > Also see http://issues.apache.org/jira/browse/LUCENE-632, but the null check is included in this patch so the NPE described there cannot happen anymore. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org