I have been working on MongoDB, and wanted to try out Riak as our
system is also in Erlang. But the first installation got me stuck
with an unusable client.
The server is started and seems to run. So I grabbed the
riakc-1.0.1 package, and it didn't even compile:
x...@shanghai:~/project-workspace
After upgrading R14B, I can now compile the client package,
but I still get the same error when trying to write the object.
Could someone tell what's going on here?
Thanks
Xiaopong
On Fri, 2010-12-10 at 16:37 +0800, Xiaopong Tran wrote:
> I have been working on MongoDB, and wanted to
I finally got it to work, the document is so misleading,
had to dig into the code to find out what is going on.
When starting erl, you have to add
deps/protobuffs/ebin/
to the path too.
One whole day of frustration
Xiaopong
On Sat, 2010-12-11 at 15:26 +0800, Xiaopong Tran wrote:
> Af
I installed Riak Search, added a few JSON docs, then install the
search hook for the bucket. Now, here are the questions:
1) How can I list the indexes that have been created
for my bucket?
2) After installing the hook, I can't delete my object
anymore. Here is the error:
7> {ok, P} = test3:init
_fail,notfound} error
> (since a delete updates the meta data of the object).
>
>
> If you want to see index data, the index buckets start are named like
> _rsid_bucketname, where bucketname is the bucket you install the hook
> on.
>
> - Joe Lambert
>
> joseph.g.
On Thu, 2010-12-16 at 13:11 +1100, Neville Burnell wrote:
> Cant you simply PUT all the objects again, ie, dont bother deleting?
>
Ha, I already busted the database.
But then, I tried to reproduce it again, and yeah, you can just put
again, and the hook seems to be created properly, and now I can
I have put a few objects in the database, and the object looks
like this:
{
"userid" : "jane",
"first_name" : "Jane",
"last_name" : "Doe",
"gender" : "F",
"joined_date" : "Wed, 15 Dec 2010 09:15:20 GMT"
}
I have 3 users whose id starts with the letter 'j':
jane, jenny, john.
When I us
chive.com/riak-users@lists.basho.com/msg01322.html
> - http://wiki.basho.com/display/RIAK/Riak+Search+-+Schema
>
>
> Best,
> Rusty
>
>
>
> On Wed, Dec 15, 2010 at 10:40 PM, Xiaopong Tran
> wrote:
> I have put a few objects in the database, and the object lo
I'd say use search whenever you can, and mapred only when
the search functionality can't handle it (e.g. in a distributed
system). It's much simpler, and I find mapred is not always
the most optimized way to get results.
Best
Xiaopong
On Sun, 2011-01-30 at 02:05 +1100, Joshua Partogi wrote:
> Ho