Hi all,

I've a key in a bucket, witch is indexed.

{
...
"street":"Sabinastraße"
...
}

If I retrieve the key this way:
curl -i -v http://localhost:8098/buckets/is_solr/keys/123

The response looks like:

{
...
"street":"Sabinastraße"
...
}
which is correct.

If I search for key and expect XML output:
curl -i -v "
http://localhost:8098/solr/is_solr/select?wt=xml&q=street:Sabinastra%C3%9Fe";

Response:
<response>
...
<result name="response" numFound="1" start="0" maxScore="0.353553">
<doc>
...
  <str name="street">Sabinastraße</str>
  ...
</doc>
</result>
</response>

wich is also correct.

But in case the format of the output is JSON:
curl -i -v "
http://localhost:8098/solr/is_solr/select?wt=json&q=street:Sabinastra%C3%9Fe<http://localhost:8098/solr/is_solr/select?wt=xml&q=street:Sabinastra%C3%9Fe>"


result looks differently:
...
"street":"Sabinastra\u00dfe"
...

Why is the JSON response looks differently then XML?
Is it an expected output or I'm doing something wrong?

Thanks in advance!
Vladimir
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to