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] Created: (LUCENE-575) SpellChecker min score is increased by time
Date Tue, 23 May 2006 21:31:29 GMT
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


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