Key composition and secondary indexes

2011-06-01 Thread Ryan Caught
Hi everyone, I have some questions regarding key composition and secondary indexes. Key filters seem really useful, and because of this, I find myself designing keys that have (perhaps) too many elements within them. - Are there any best practices concerning key composition? - Does the comp

Logical operators in Ripple

2011-06-05 Thread Ryan Caught
Hi, I'm having a problem with Ripple and logical operator key filters. Has anyone managed to get "and" or "or" key filter combinations working? When I run the following: require 'ripple' client = Riak::Client.new bucket = client.bucket("test_bucket") one = Riak::RObject.new(bucket, "test-123")

Re: Logical operators in Ripple

2011-06-05 Thread Ryan Caught
a really good chance that's wrong since I'm only looking at some > Ruby in an editor and not testing against a running Riak cluster right now. > Hopefully that sets you on the right track or else angries up someone who > will correct me. > > --- > Jeremiah Peschka >

Re: Logical operators in Ripple

2011-06-05 Thread Ryan Caught
F > > On Sunday, June 5, 2011 at 8:40 PM, Ryan Caught wrote: > > Yeah, I did look at the spec. The first two results work fine, it's only > the "and" based key filter that throws the error. > > On Sun, Jun 5, 2011 at 8:30 PM, Jeremiah Peschka < > jeremiah.pesc..

Re: Logical operators in Ripple

2011-06-06 Thread Ryan Caught
Thanks Jeremiah. Nesting the "and" in another array worked great. On Mon, Jun 6, 2011 at 1:58 PM, David Mitchell wrote: > The "and" based key filter is not working for me either. See: > http://lists.basho.com/pipermail/riak-users_lists.basho.com/2011-June/004432.html > > > > David > > > > _

Riak 1.0 pre2 legacy_keylisting crash

2011-09-11 Thread Ryan Caught
Hi, I'm testing out a rolling upgrade with 1.0 pre2 and found that when I turn off legacy_keylisting Riak crashes on me. Things work fine when legacy_keylisting is turned on. Here is what I found in the crash log. 2011-09-11 07:15:44 =SUPERVISOR REPORT > Supervisor: {local,riak_pipe_fit

Re: Riak 1.0 pre2 legacy_keylisting crash

2011-09-11 Thread Ryan Caught
ting, but MapReduce. I hope to push out a new version of the Ruby > client in the next few weeks to support the new features. > > On Sun, Sep 11, 2011 at 3:38 AM, Ryan Caught wrote: > >> Hi, >> I'm testing out a rolling upgrade with 1.0 pre2 and found that when I turn >&

Re: Riak 1.0 pre2 legacy_keylisting crash

2011-09-11 Thread Ryan Caught
lled in > context child_terminated On Sun, Sep 11, 2011 at 1:49 PM, Daniel Reverri wrote: > Hi Ryan > > Were there any errors in the error.log or console.log files? > > Thanks > Dan > > Sent from my iPad > > On Sep 11, 2011, at 10:43 AM, Ryan Caught wrote: >

Re: Riak 1.0 pre2 legacy_keylisting crash

2011-09-19 Thread Ryan Caught
Hi Bryan, Sorry for the delay, I was away. I shutdown that experiment, but intend to try out one of the new prerelease's when I get the time. I'll try out what you suggest if it brings up the same problems. I was running Ripple using HTTP FYI. Ryan On Mon, Sep 12, 2011 at 8:12 AM, Bryan Fink

Re: Key Filter Timeout

2011-10-23 Thread Ryan Caught
If you are doing just a simple equality check in the key filter, then why not skip key filters and lookup the key directly? Key filters are not performant over large data sets. On Sun, Oct 23, 2011 at 2:38 PM, Jim Adler wrote: > I'm trying to run a very simplified key filter that's timing out.