lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-575) SpellChecker min score is increased by time
Date Thu, 01 Jun 2006 21:39:30 GMT
     [ http://issues.apache.org/jira/browse/LUCENE-575?page=all ]
     
Yonik Seeley resolved LUCENE-575:
---------------------------------

    Fix Version: 2.1
     Resolution: Fixed
      Assign To: Yonik Seeley

I just commited this.  Thanks Karl!

> 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
>     Assignee: Yonik Seeley
>     Priority: Blocker
>      Fix For: 2.1
>  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