On Fri, Aug 17, 2012 at 7:46 PM, bufer <buf...@yahoo.com> wrote: > > > ############### get an specific item data > $ curl -i > http://127.0.0.1:8098/buckets/options/keys/Z8Q1FcBqpGb9fp97CRvia1TMbJq > HTTP/1.1 200 OK > X-Riak-Vclock: a85hYGBgzGDKBVIcypz/fgbo5gVmMCUy5rEyGEouOsmXBQA= > Vary: Accept-Encoding > Server: MochiWeb/1.1 WebMachine/1.9.0 (someone had painted it blue) > Link: </buckets/options>; rel="up" > Last-Modified: Fri, 17 Aug 2012 01:24:01 GMT > ETag: "1tnW2SLPFsub0IJL4bx92F" > Date: Fri, 17 Aug 2012 23:37:48 GMT > Content-Type: application/x-erlang-binary > Content-Length: 46 > > �l h d namekversionh dvaluekprivatej > > Based on this output I can tell you wrote an value of `[{name,"version"},{value,"private"}]`. The erlang extractor doesn't understand strings as the value. Instead you need to encode them as binary or atom.
[{name,<<"version">>},{value,<<"private">>}] -Z
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com