MapReduce filtering question

2010-11-19 Thread Parker Thompson
I'm experimenting with Riak by trying to port a simple a/b testing framework that's currently SQL backed. Since I'm using Ripple/riak-client my code below are in Ruby/JS. The domain model is fairly simple. I have visitors, which get created for any user who hits the site, visitors see alternatives

Re: MapReduce filtering question

2010-11-19 Thread Parker Thompson
Thanks, a few questions inline... On Fri, Nov 19, 2010 at 2:43 PM, Sean Cribbs wrote: class Riak::Alternative > include Ripple::Document > many :visitors, :class_name => "Riak::Visitor" > property :alternative_id, Integer, :presence => true > key_on :alternative_id > end > If I expect to