Yes, it's because the JSON2.js included with Riak has a bug around newlines. Dropping an updated JSON2.js in your js_source_dir will fix it.

--Kyle

On 04/15/2011 12:20 AM, Matt Ranney wrote:
I'm using Riak Search 0.14.0-1, and it seems like JSON docs with
otherwise legal \r characters in them confuse both the search indexer
and JSON.parse() from within JavaScript map functions.  Presumably these
two are related.

After looking around, it sounds like maybe this has been fixed, but
perhaps not yet in release builds.  Is it really the case that Riak
isn't yet using the native JSON parse from spidermonkey, or is something
else going on here?



_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to