On 17 Nov 2011, at 16:03, sergey wrote: > Ok, > If I do curl -X PUT -H "Content-Type: application/json;charset=utf-8", Riak > index for search and search work right. > I use Riak 1.0.1-1 (riak_1.0.1-1_amd64.deb on Ubuntu). > I use utf-8 java string.
Yes. We have a bug. Sorry. https://issues.basho.com/show_bug.cgi?id=1288 has the details. I'm working on a patch. The RJC PB client does not correctly split content-type and charset when it creates the PB message for Riak. As a work around you can 1. Use the HTTP driver 2. manually set the ContentType on the riakObject after building it (riakObject.setContentType(Constants.CTYPE_JSON)) I'll let the list now when the patch is done. Cheers Russell > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
