You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Nick Wellnhofer (JIRA)" <ji...@apache.org> on 2014/10/19 18:24:33 UTC
[lucy-issues] [jira] [Created] (LUCY-272) Wrong encoding of extremely small
similarity values
Nick Wellnhofer created LUCY-272:
------------------------------------
Summary: 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
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)