[
https://issues.apache.org/jira/browse/SOLR-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555695#action_12555695
]
Yonik Seeley commented on SOLR-449:
-----------------------------------
Rather than rely on an overflow for infinity, one can divide by zero, right?
irb(main):022:0> 1.0/0.0
=> Infinity
irb(main):023:0>
irb(main):024:0* -1.0/0.0
=> -Infinity
> python (and presumably ruby) writer can generate NaN
> ----------------------------------------------------
>
> Key: SOLR-449
> URL: https://issues.apache.org/jira/browse/SOLR-449
> Project: Solr
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Mike Klaas
> Assignee: Mike Klaas
> Priority: Trivial
> Attachments: nan.patch
>
>
> The JSON response writer can omit "NaN" as float literal; this is fine for
> JSON but breaks eval() in python (not sure if this is a problem in ruby).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.