JSON-Encoding from riakc

2012-06-23 Thread Florian Odronitz
Hello List, I am using the riak-erlang-client and I am trying to store JSON. Now the riak_pb_kv_codec module assumes that when using the erlang client one would always like to encode data in erlang binaries. Which is ok with me _until_ riak_search needs to index this data. I know the indexing a

Re: Difference between riakc_obj and riak_object

2011-02-16 Thread Florian Odronitz
ou want to give it a shot. > > Thanks, > Dan > > Daniel Reverri > Developer Advocate > Basho Technologies, Inc. > d...@basho.com > > > On Sat, Feb 5, 2011 at 7:43 AM, Florian Odronitz wrote: > Hi All, > > I am using the erlang protocol buffers client which use

Difference between riakc_obj and riak_object

2011-02-05 Thread Florian Odronitz
Hi All, I am using the erlang protocol buffers client which uses riakc_obj to handle riak objects. As I understand riak uses riak_object internally. Looking at the functions the modules look almost identical. Why is it done that way? Thanks, Florian smime.p7s Description: S/MIME cryptographic

Trouble accessing data

2011-01-20 Thread Florian Odronitz
Hi all, I have problems accessing data on a solitary riak node. I tried to connect via protocol buffers: 7> riakc_pb_socket:ping(Pid). pong 8> riakc_pb_socket:get(Pid, <<"test">>, <<"test">>). =ERROR REPORT 20-Jan-2011::12:02:39 === ** Generic server <0.43.0> terminating ** Last message in

Is there a way to control where data is stored

2011-01-07 Thread Florian Odronitz
Hello, I am new to riak so I might miss something essential. As I understand from (http://wiki.basho.com/Replication.html), the decision about where a piece of data is stored depends on the key (and the ring). Looking at the source code this is defined in chash.erl as: key_of(ObjectName) ->