[ 
https://issues.apache.org/jira/browse/SOLR-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555690#action_12555690
 ] 

Mike Klaas commented on SOLR-449:
---------------------------------

Yes, "emit"

Using an online ruby interpreter, "NaN" and "Infinity" aren't literals.  But I 
can produce them using (0.0/0.0) and (1.0/1e-3000), so I'll throw that into the 
patch too.

> 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.

Reply via email to