lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-449) python (and presumably ruby) writer can generate NaN
Date Thu, 03 Jan 2008 21:52:34 GMT

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

Hoss Man commented on SOLR-449:
-------------------------------

when the description says "omit" i think you mean "emit" right?

I don't know squat about Ruby, but the docs seem to suggest that...

{noformat}NaN{noformat}

...is the proper way to express "not a number" as a float literal...

http://ruby-doc.org/core/classes/Float.html#M000244

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


Mime
View raw message