Re: Riak search. Different results (XML - JSON)

2012-09-04 Thread Ryan Zezeski
On Mon, Aug 27, 2012 at 10:23 AM, Vladimir Shapovalov wrote: > Thank you for the explanation. > > It looks like the serialization routine in one case (solr) encodes > characters_to_binary() > and by normal fetch not. Assuming we fetch in JSON in both cases. > No, Olav is incorrect in his analysi

Re: Riak search. Different results (XML - JSON)

2012-08-27 Thread Vladimir Shapovalov
Thank you for the explanation. It looks like the serialization routine in one case (solr) encodes characters_to_binary() and by normal fetch not. Assuming we fetch in JSON in both cases. I'm requesting same data in same format, i.e. JSON. Once by fetching object like /buckets/bucket/keys/key. And

Re: Riak search. Different results (XML - JSON)

2012-08-26 Thread Vladimir Shapovalov
Hey Olaf, Thanks for the answer. Yep, I know, it's JSON compliant. The question is, why the unicode escaped sequences appear only in case of searching and retrieveing in JSON? This is not the case in XML output. If I just get the same key directly in JSON, the unicode chars are NOT escaped. Che