Yeah that error wasn't helping much, and you're right - I was using bitcask, and now it's working with LevelDB.
Thanks! On Tue, Sep 17, 2013 at 11:51 PM, Charl Matthee <[email protected]> wrote: > Hi, > > On 17 September 2013 23:43, Wagner Camarao <[email protected]> wrote: > > > bucket.get_index 'bars_bin', 'foo' > > > > But am failing with: > > > > Zlib::DataError: incorrect header check > > from > > > /Users/wagner/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/net/http/response.rb:357:in > > `finish' > > I think the Zlib error is obscuring what's really happening in the > background. > > What backend are you using? > > If it is bitcask then this will not work and you need to switch to one > that supports 2I, like levelDB: > > > https://github.com/basho/riak-ruby-client/wiki/Secondary-Indexes#how-secondary-indexes-aka-2i-work > > > -- > Ciao > > Charl > > "I will either find a way, or make one." -- Hannibal >
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
