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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to