lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wettin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-575) SpellChecker min score is increased by time
Date Tue, 23 May 2006 21:35:30 GMT
     [ http://issues.apache.org/jira/browse/LUCENE-575?page=all ]

Karl Wettin updated LUCENE-575:
-------------------------------

    Attachment: SpellChecker.java.diff

I would have to say this is for 2.0 as the SpellCheck does not work without it in most cases.

> SpellChecker min score is increased by time
> -------------------------------------------
>
>          Key: LUCENE-575
>          URL: http://issues.apache.org/jira/browse/LUCENE-575
>      Project: Lucene - Java
>         Type: Bug

>   Components: Search
>     Versions: 1.9
>     Reporter: Karl Wettin
>     Priority: Blocker
>  Attachments: SpellChecker.java.diff
>
> The minimum score, an instance variable, is modified in a search. That is wrong, since
it makes it 1. thread unsafe and 2. not working. 
> Lucky enought it is only used from the one and same method call, so I simply compied
the instance variable to a local method variable.
>         float min = this.min; 

-- 
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