Re: Avoid siblings in "data-type" bucket

2014-08-21 Thread Alex De la rosa
Cool, thank you very much Alex On Thu, Aug 21, 2014 at 9:18 PM, John Daily wrote: > Siblings are resolved automatically by Riak when using our data types, > thus the requirement that allow_mult=true. > > -John > > > On Thu, Aug 21, 2014 at 3:17 PM, Alex De la rosa > wrote: > >> Hi there, >> >

Re: Avoid siblings in "data-type" bucket

2014-08-21 Thread John Daily
Siblings are resolved automatically by Riak when using our data types, thus the requirement that allow_mult=true. -John On Thu, Aug 21, 2014 at 3:17 PM, Alex De la rosa wrote: > Hi there, > > I was trying to create a bucket-type using the datatype MAP and it didn't > allow me to create it with

Avoid siblings in "data-type" bucket

2014-08-21 Thread Alex De la rosa
Hi there, I was trying to create a bucket-type using the datatype MAP and it didn't allow me to create it with "allow_mult":false: # riak-admin bucket-type create tp_images '{"props":{"allow_mult":false,"search_index":"ix_images","datatype":"map"}}'Error creating bucket type tp_images:Data Type b

Riak Search on "Sets" data-types

2014-08-21 Thread Alex De la rosa
Hi there, For a project I'm building I'm saving a "keyword" and a "site" for an image like this: bucket = client.bucket_type('tp_images').bucket('images') key = bucket.new(image_hash) key.registers['raw'].assign(base64.b64encode(image_data)) key.registers['site'].assign('johnlewis.com')

Re: Streaming keys with the Erlang client

2014-08-21 Thread Luc Perkins
István, For future reference, the Riak 2.0 docs have client-library-specific code samples. The *Querying* section of this doc has Erlang samples, including an example for how to stream: http://docs.basho.com/riak/2.0.0/dev/using/2i/#Querying Luc On Thu, Aug 21, 2014 at 10:38 AM, István wrote:

Re: Streaming keys with the Erlang client

2014-08-21 Thread István
Let me answer my own question, yes all of these are supported in the Erlang client. The function I was looking for is get_index_eq: http://basho.github.io/riak-erlang-client/riakc_pb_socket.html#get_index_eq-5 Regards, Istvan On Thu, Aug 21, 2014 at 10:32 AM, István wrote: > Hi guys, > > I w

Streaming keys with the Erlang client

2014-08-21 Thread István
Hi guys, I was wondering if streaming the keys using 2i would be possible. I guess any way of limiting the number of keys returned would be good. According to the documentation there few options: http://docs.basho.com/riak/latest/dev/using/2i/#Examples - streaming the keys - pagination with max

Re: Riak Search VS other query systems

2014-08-21 Thread Sean Cribbs
We have some prototypes for how to expand Pipe's capabilities thanks to Chris Meiklejohn. We have not exposed it directly and I honestly think it may be the fundamentally wrong level of abstraction to present to users. It could be a way to implement higher-level query/processing features, but that

Re: Riak Search VS other query systems

2014-08-21 Thread Alexander Sicular
Re. Riak pipes. What's the latest regarding accessing the pipe framework? Haven't heard t much about it lately, admittedly haven't been listening t hard either. The thought would be to do "storm"ish stream processing in situ. @siculars http://siculars.posthaven.com Sent from my iRota

Re: Waiting for riak to handoff ?

2014-08-21 Thread Luke Bakken
Hi Marcel - What version of Riak are you using? What is the output of "riak-admin transfer-limit" ? -- Luke Bakken CSE lbak...@basho.com On Wed, Aug 20, 2014 at 8:02 AM, Marcel Koopman wrote: > Hello, > > It seems that adding new nodes does not have any effect. > > Why it Riak waiting for tran

Re: Waiting for riak to handoff ?

2014-08-21 Thread Marcel Koopman
Here is some additional information, it seems the ownership handoff is waiting, see below: riak-admin ring-status == Claimant === Claimant: 'riak@oldnode1' Status: up Ring Ready: true == Ownershi