lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-593) Spellchecker's dictionary iterator misbehaves
Date Sun, 18 Jun 2006 05:48:30 GMT
    [ http://issues.apache.org/jira/browse/LUCENE-593?page=comments#action_12416657 ] 

Otis Gospodnetic commented on LUCENE-593:
-----------------------------------------

Kåre & Karl - thanks, good catch, the field is interned in the ctor now.
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å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


Mime
View raw message