You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Karl Wettin (JIRA)" <ji...@apache.org> on 2006/06/08 14:04:30 UTC
[jira] Updated: (LUCENE-593) Spellchecker's dictionary iterator
misbehaves
[ http://issues.apache.org/jira/browse/LUCENE-593?page=all ]
Karl Wettin updated LUCENE-593:
-------------------------------
Attachment: LuceneDictionary.java.diff
patch for the internaling of field name passed to constructor
> 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åre Fiedler Christiansen
> Attachments: LuceneDictionary.java.diff
>
> In LuceneDictionary, the LuceneIterator.hasNext() method has two issues that 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 != rather than .equals() with the potential result that nothing is indexed
--
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