lucy-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Wellnhofer (JIRA)" <j...@apache.org>
Subject [lucy-issues] [jira] [Commented] (LUCY-272) Wrong encoding of extremely small similarity values
Date Sun, 19 Oct 2014 18:22:33 GMT

    [ https://issues.apache.org/jira/browse/LUCY-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14176375#comment-14176375
] 

Nick Wellnhofer commented on LUCY-272:
--------------------------------------

Also fixed in 0.4 branch.

> Wrong encoding of extremely small similarity values
> ---------------------------------------------------
>
>                 Key: LUCY-272
>                 URL: https://issues.apache.org/jira/browse/LUCY-272
>             Project: Lucy
>          Issue Type: Bug
>          Components: Index
>            Reporter: Nick Wellnhofer
>            Assignee: Nick Wellnhofer
>             Fix For: 0.3.4, 0.4.2
>
>
> Due to a missing range check, values smaller than 2^-31 are encoded as 255 and in Sim#Encode_Norm
and subsequently decoded as approximately 2^31. Such small values are probably rare but this
could cause significant errors when calculating similarities.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message