Hi everybody!

I'm using riakc, branch 1.4 and riak-1.4.7.

I want to save buckets through riak-erlang-client.

If I save a bucket through HTTP API, I get search results (search-cmd and solr 
interface), but, If I save through riak-erlang-client, I don't have any results.

I tried to save the same bucket/key/value through HTTP API and 
riak-erlang-client, but the same thing happens.

==
HTTP API

http://127.0.0.1:10018/riak/events/101
POST
Content-Type: application/json
{"name":"Alejandra","lastname":"Estrada", "age":25}

riakq:get_value(Pid, <<"events">>, <<"101">>).
<<"{\"name\":\"Alejandra\",\"lastname\":\"Estrada\", \"age\":25}">>

==

riak-erlang-client

riakq:create(Pid, <<"events">>, <<"102">>, 
list_to_binary("{\"name\":\"Alejandra\",\"lastname\":\"Estrada\", 
\"age\":25}")).

riakq:get_value(Pid, <<"events">>, <<"102">>).
<<"{\"name\":\"Alejandra\",\"lastname\":\"Estrada\", \"age\":25}">>

==

Is there an extra step done by HTTP API, or Am I missing something?

==

Extra questions:
How many time we are talking about for the riak 2.0.0 release? Just curious! :)

Thank you very much!


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

Reply via email to