You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2018/05/02 09:59:00 UTC

[jira] [Created] (OAK-7466) Prevent LMSEstimator over/under flow in weights

Tommaso Teofili created OAK-7466:
------------------------------------

             Summary: Prevent LMSEstimator over/under flow in weights
                 Key: OAK-7466
                 URL: https://issues.apache.org/jira/browse/OAK-7466
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: solr
            Reporter: Tommaso Teofili
            Assignee: Tommaso Teofili
             Fix For: 1.9.1


Although I could not reproduce it with a unit test, it is theoretically possible to have weights be updated to _Infinite_ or _NaN_ due to double multiplication over / underflow.

A simple check should be introduced in the case of estimates not being finite to reset weights.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)