Hi I have made a small modification on the search generator that lets you use more than one index to perform searches on. On a application I''m building I want to use different indexes for the administration and its public site. I also want to be able to use conditions if a model should be indexed or not. See my modification at http://kristian.delamednoll.se/ Does anybody how any experience of how well SimpleSearch performs on a live site? Or do you use any other technology like Ruby/Odeum or Ruby-Lucene (what''s the status there?). I have used Lucene on a Java-application, and I like it a lot, and I''m interested on using any similar on rails. Cheers! Kristian
On Tue, Jul 26, 2005 at 09:23:08PM +0200, Kristian Hellquist wrote:> Hi > > I have made a small modification on the search generator that lets you > use more than one index to perform searches on. > On a application I''m building I want to use different indexes for the > administration and its public site. I also want to be able to use > conditions if a model should be indexed or not. See my modification at > http://kristian.delamednoll.se/Its always good to see people using the search_generator. I''m glad you could make use of it and make some improvements. I''ll have to give your additions a good look when I next get a chance.> Does anybody how any experience of how well SimpleSearch performs on a > live site? Or do you use any other technology like Ruby/Odeum or > Ruby-Lucene (what''s the status there?). I have used Lucene on a > Java-application, and I like it a lot, and I''m interested on using any > similar on rails.I''ve heard from several people who are using search_generator on their production sites. It works for them. I couldn''t say how big their sites are now. I don''t have any strong numbers to give you. Personally, I''m looking forward to having search_generator use the Ruby/Odeum backend at some point in the future, but I haven''t had much of a chance to pursue this lately. Zed Shaw has some really good stuff on this (http://www.zedshaw.com/projects/ruby_odeum/index.html). Go peruse his blog and his posts to ruby-talk about this. I believe Erik Hatcher is on this list or ruby-talk and can probably speak about what is going on in the Ruby/Lucene arena. enjoy, -jeremy -- ======================================================================= Jeremy Hinegardner jeremy-eg9WJcVQRd1EMKyauTCisw@public.gmane.org
On Jul 27, 2005, at 1:49 AM, Jeremy Hinegardner wrote:> I believe Erik Hatcher is on this list or ruby-talk and can probably > speak about what is going on in the Ruby/Lucene arena.I wish I had progress to report, and I wish that I had time to push that progress myself. But, alas, Ruby Lucene eludes us. Folks have done some preliminary work with GCJ and the PyLucene folks have paved a nice path. If you''re GCJ/C/SWIG savvy and want the fame of being the king of Ruby search engines, we''d love to have you join us. Sign up at ruby- dev-subscribe-PPu3vs9EauNd/SJB6HiN2Ni2O/JbrIOy@public.gmane.org - you''d definitely have my gratitude! Erik
On Jul 26, 2005, at 1:23 PM, Kristian Hellquist wrote:> Hi > > I have made a small modification on the search generator that lets you > use more than one index to perform searches on. > On a application I''m building I want to use different indexes for the > administration and its public site. I also want to be able to use > conditions if a model should be indexed or not. See my modification at > http://kristian.delamednoll.se/ >Nice work. What''s your experience with SimpleSearch? Any demo site to show? :)> Does anybody how any experience of how well SimpleSearch performs on a > live site? Or do you use any other technology like Ruby/Odeum or > Ruby-Lucene (what''s the status there?). I have used Lucene on a > Java-application, and I like it a lot, and I''m interested on using any > similar on rails. >Ruby odeum is both fast at indexing and fast at retrieving. I''ve been very impressed with it. According to Zed, it is slightly slower than Lucene, but uses less memory. I do wish there were some way of making the scoring more flexible, but I''m not much of a search wiz myself :) I used Odeum on the raildock.mytechsupport.com site to return the result set in the pop-up suggestion box, if you''re interested. Take care, Duane Johnson (canadaduane)
ons 2005-07-27 klockan 10:11 -0600 skrev Duane Johnson:> On Jul 26, 2005, at 1:23 PM, Kristian Hellquist wrote: > > > Hi > > > > I have made a small modification on the search generator that lets you > > use more than one index to perform searches on. > > On a application I''m building I want to use different indexes for the > > administration and its public site. I also want to be able to use > > conditions if a model should be indexed or not. See my modification at > > http://kristian.delamednoll.se/ > > > Nice work. What''s your experience with SimpleSearch? Any demo site > to show? :)We are currently working on a cms, but unfortunately we don''t have any demo to show yet. I have only played around a bit with SimpleSearch and for the clients we will have, SimpleSearch will probably work ok. At least for the beginning... It feels like Odeum is the next step to take at the moment. When using SimpleSearch you have to rebuild the whole index when changing some content. With Lucene you can delete an instance in the index and then replace it with a new. How is the Odeum way?> > > Does anybody how any experience of how well SimpleSearch performs on a > > live site? Or do you use any other technology like Ruby/Odeum or > > Ruby-Lucene (what''s the status there?). I have used Lucene on a > > Java-application, and I like it a lot, and I''m interested on using any > > similar on rails. > > > > Ruby odeum is both fast at indexing and fast at retrieving. I''ve > been very impressed with it. According to Zed, it is slightly slower > than Lucene, but uses less memory. I do wish there were some way of > making the scoring more flexible, but I''m not much of a search wiz > myself :) > > I used Odeum on the raildock.mytechsupport.com site to return the > result set in the pop-up suggestion box, if you''re interested.I like the way search_generator integrates SimpleSearch into models. How are you doing with Ruby Odeum? Do you have any code to share :) Thanks for all replies Kristian> > Take care, > > Duane Johnson > (canadaduane) > >
On Jul 28, 2005, at 10:28 AM, Kristian Hellquist wrote:> We are currently working on a cms, but unfortunately we don''t have any > demo to show yet. > > I have only played around a bit with SimpleSearch and for the > clients we > will have, SimpleSearch will probably work ok. At least for the > beginning... It feels like Odeum is the next step to take at the > moment. > > When using SimpleSearch you have to rebuild the whole index when > changing some content. With Lucene you can delete an instance in the > index and then replace it with a new. How is the Odeum way? >I''ve only used the very basic Odeum functionality. Perhaps Zed can tell you more about what it''s capable of. As for RailDock, what I did was a simple rake task that rebuilds the index (I''m not expecting to need a rebuild of the index very often--unless we start getting daily Rails gems :) Here are the two relevant rake tasks: desc "Remove any files in the doc/odeum directory" task :clobber_odeum do cmd = "rm -r doc/odeum/*" puts cmd `#{cmd}` end # Add Odeum index desc "Generate the odeum reverse searchable index on the RI documentation" task :odeum_index do puts "Generating odeum index..." `odeum_mgr update #{File.dirname(__FILE__)}/doc/odeum # {File.dirname(__FILE__)}/doc/ri` puts "Done." end> I like the way search_generator integrates SimpleSearch into > models. How > are you doing with Ruby Odeum? Do you have any code to share :) >The current implementation is pretty much just a hack of the "odeum_mgr" ruby script that comes with Ruby/Odeum. It''s not as integrated with Rails as it sounds SimpleSearch is. Regards, Duane Johnson (canadaduane)