Installing Ripple and Risky side-by-side

2011-06-26 Thread Pablo Chacin
Hi I want to give a try to Risky but it requires riak-client 1.0, while Ripple uses 0.9.5 First, I'm wondering why Risky has this dependency. Second, if anyone has tried installing Ripple with riak-client 1.0. Thanks in advance. ___ riak-users mailing l

Re: Installing Ripple and Risky side-by-side

2011-06-26 Thread Sean Cribbs
Pablo, You'll need to check out riak-client from git to make this work. You'll probably want to use the :git or :path options in your Gemfile. On Sun, Jun 26, 2011 at 6:57 AM, Pablo Chacin wrote: > Hi > > I want to give a try to Risky but it requires riak-client 1.0, while Ripple > uses 0.9.5 >

Re: Installing Ripple and Risky side-by-side

2011-06-26 Thread Pablo Chacin
Thnaks a lot. On Sun, Jun 26, 2011 at 9:26 PM, Aphyr wrote: > http://aphyr.com/media/riak.gem > > Is a package built from riak client git I use in production w risky. > > Kyle > > - Reply message - > From: "Pablo Chacin" > To: > Subject: Installing Ripple and Risky side-by-side > Date

Controlling order of results from link phase

2011-06-26 Thread Andrew Berman
I've noticed that when I run the link function, it automatically orders the links based on Id. Is there a way to tell it not to sort the links? In other words, I want the links in the order in which they were put in the list (most recent at the head of the list) and I see from Rekon that that is

Re: Controlling order of results from link phase

2011-06-26 Thread Andrew Berman
I think I found the answer and it is no, I cannot control the sort. I found the code here in riak_kv_wm_link_walker.erl: links(Object) -> MDs = riak_object:get_metadatas(Object), lists:umerge( [ case dict:find(?MD_LINKS, MD) of {ok, L} -> [ [B,K,T] || {{B

Ripple 0.9.5 breaks old search access

2011-06-26 Thread Sylvain Niles
The example from the wiki for setting up an endpoint doesn't work: client = Riak::Client.new :solr => "/solr" ArgumentError: Invalid configuration options given. from /Library/Ruby/Gems/1.8/gems/riak-client-0.9.5/lib/riak/client.rb:98:in `initialize' from (irb):14:in `new'

Re: Ripple 0.9.5 breaks old search access

2011-06-26 Thread Sylvain Niles
PS: it seems like 0.9.4 has been removed from all the default gem repos so you can't easily downgrade once you've made the mistake of upgrading. On Sun, Jun 26, 2011 at 8:01 PM, Sylvain Niles wrote: > The example from the wiki for setting up an endpoint doesn't work: > > client = Riak::Client.ne

Re: Ripple 0.9.5 breaks old search access

2011-06-26 Thread Sylvain Niles
PPS: I'm dumb, old version was 0.9.3. On Sun, Jun 26, 2011 at 8:03 PM, Sylvain Niles wrote: > PS: it seems like 0.9.4 has been removed from all the default gem > repos so you can't easily downgrade once you've made the mistake of > upgrading. > > > On Sun, Jun 26, 2011 at 8:01 PM, Sylvain Niles

Re: Ripple 0.9.5 breaks old search access

2011-06-26 Thread Sean Cribbs
Sylvain, `require 'riak/search'` will solve your issue. It's not uncommon in Ruby to reopen classes to add or change functionality, which is what that file does -- adding support for the :solr configuration option as well as the other features. On git master (which will become 1.0), search support

Re: Ripple 0.9.5 breaks old search access

2011-06-26 Thread Sylvain Niles
Thanks s much for the quick response! -Sylvain On Sun, Jun 26, 2011 at 8:08 PM, Sean Cribbs wrote: > Sylvain, > `require 'riak/search'` will solve your issue. It's not uncommon in Ruby to > reopen classes to add or change functionality, which is what that file does > -- adding support for t