Riak search. Different results (XML - JSON)

2012-08-25 Thread Vladimir Shapovalov
Hi all, I've a key in a bucket, witch is indexed. { ... "street":"Sabinastraße" ... } If I retrieve the key this way: curl -i -v http://localhost:8098/buckets/is_solr/keys/123 The response looks like: { ... "street":"Sabinastraße" ... } which is correct. If I search for key and expect XML out

Riak won't start -- RHEL6

2012-08-25 Thread Vladimir Kupcov
Hi, I installed Riak from .rpm package on RHEL6 on virtual machine. Unfortunately, I can't get Riak to start. Here is the console output: [idcuser@vhost0536 ~]$ riak console Attempting to restart script through sudo -H -u riak Exec: /usr/lib64/riak/erts-5.9.1/bin/erlexec -boot /usr/lib64/riak

Re: Riak won't start -- RHEL6

2012-08-25 Thread Andrew Berman
What do your config files look like? Do you have proper permissions on the Riak directory? On Aug 25, 2012 10:10 AM, "Vladimir Kupcov" wrote: > Hi, > > I installed Riak from .rpm package on RHEL6 on virtual machine. > Unfortunately, I can't get Riak to start. Here is the console output: > > > > [

Postcommit hook and storing json object

2012-08-25 Thread Yousuf Fauzan
Hello, In a postcommit hook, I am storing an object in another bucket where data is equal to Data = iolist_to_binary(mochijson2:encode({struct, [ {<<"status">>, list_to_binary(Status)}, {<<"recorddate">>, list_to_binary(Recorddate)}, {<<"memberlo

Re: Riak won't start -- RHEL6

2012-08-25 Thread Vladimir Kupcov
I didn't change config files after installation. Permissions of /usr/lib64/riak are: [idcuser@vhost0323 ~]$ ls -l /usr/lib64/riak total 12 drwxr-xr-x. 8 riak root 4096 Aug 25 21:59 erts-5.9.1 drwxr-xr-x. 57 riak root 4096 Aug 25 21:59 lib drwxr-xr-x. 3 riak root 4096 Aug 25 21:59 releases Than