Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 43268 invoked from network); 18 Jun 2006 05:49:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jun 2006 05:49:57 -0000 Received: (qmail 66913 invoked by uid 500); 18 Jun 2006 05:49:50 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 66890 invoked by uid 500); 18 Jun 2006 05:49:49 -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 66879 invoked by uid 99); 18 Jun 2006 05:49:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Jun 2006 22:49:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Jun 2006 22:49:49 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2F602410005 for ; Sun, 18 Jun 2006 05:48:30 +0000 (GMT) Message-ID: <10470874.1150609710164.JavaMail.jira@brutus> Date: Sun, 18 Jun 2006 05:48:30 +0000 (GMT+00:00) From: "Otis Gospodnetic (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-593) Spellchecker's dictionary iterator misbehaves In-Reply-To: <7253861.1149766829822.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LUCENE-593?page=3Dcomments#actio= n_12416657 ]=20 Otis Gospodnetic commented on LUCENE-593: ----------------------------------------- K=C3=A5re & Karl - thanks, good catch, the field is interned in the ctor no= w. If you have a patch for hasNext() problem, please attach it. > Spellchecker's dictionary iterator misbehaves > --------------------------------------------- > > Key: LUCENE-593 > URL: http://issues.apache.org/jira/browse/LUCENE-593 > Project: Lucene - Java > Type: Bug > Components: Search > Versions: 2.0.0 > Environment: Any (mine is Fedora Core 4 - Linux pc983 2.6.16-1.2111_FC4 = #1 Sat May 20 19:59:40 EDT 2006 i686 i686 i386 GNU/Linux) > Reporter: K=C3=A5re Fiedler Christiansen > Attachments: LuceneDictionary.java.diff > > In LuceneDictionary, the LuceneIterator.hasNext() method has two issues t= hat makes it misbehave: > 1) If hasNext is called more than once, items are skipped > 2) Much more seriously, when comparing fieldnames it is done with !=3D ra= ther than .equals() with the potential result that nothing is indexed --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org