lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Jason format exception for stats component facet results | stddev value of NaN
Date Fri, 19 Nov 2010 07:06:42 GMT

: I am getting a mal-formatted json response when using the
: stats component with a facet that returns a stddev value of NaN ,e.g

I'm not a JSON expert, but i suspect NaN just isn't legal JSON, and the 
JSON response writer has a bug.

quick google search...
http://stackoverflow.com/questions/1423081/json-left-out-infinity-and-nan-json-status-in-ecmascript
...suggests that the only valid value is "null"

please file a bug.

-Hoss

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message