Hi, I''ve an application which is built with RoR and a search index in Lucene. I need to be able to integrate Lucene into the RoR app. What is the best way to do so ? I know that rjni is a ruby-java bridge but is it stable ? Also the update at http://thekode.net/ruby/rjni/ seems to indicate that it is no longer under development. Thanks. Ruban. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Hi, Ruban, as just posted in another thread: Have a look at ferret (http://ferret.davebalmain.com), which is a full ruby port of lucene. You''ll find performance comparisons on http://blog.davebalmain.com. Dave is doing a great job!!! Also the article http://www.oreillynet.com/pub/wlg/8168 might interest you. regards Jan Prill Ruban Phukan wrote:> Hi, > > I''ve an application which is built with RoR and a search index in > Lucene. I need to be able to integrate Lucene into the RoR app. What > is the best way to do so ? > > I know that rjni is a ruby-java bridge but is it stable ? Also the > update at http://thekode.net/ruby/rjni/ seems to indicate that it is > no longer under development. > > Thanks. > > Ruban. > >------------------------------------------------------------------------ > >_______________________________________________ >Rails mailing list >Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >http://lists.rubyonrails.org/mailman/listinfo/rails > >
Just actually read a bit about Lucene, and found that there is a new port called Ferret which you may find interesting. Might be a more effective shift to move from Lucene to Ferrett then build a Ferrett gem to integrate into Rails. I am sure this would be well received open project in the Rails community :) Warmest regards, Nathan. -------------------------------------------------------------- Nathaniel S. H. Brown Toll Free 1.877.4.INIMIT Inimit Innovations Phone 604.724.6624 www.inimit.com Fax 604.444.9942> -----Original Message----- > From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Ruban Phukan > Sent: November 19, 2005 12:51 AM > To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: [Rails] Ruby/RoR - Lucene integration question ?? > > Hi, > > I''ve an application which is built with RoR and a search > index in Lucene. I need to be able to integrate Lucene into > the RoR app. What is the best way to do so ? > > > I know that rjni is a ruby-java bridge but is it stable ? > Also the update at http://thekode.net/ruby/rjni/ seems to > indicate that it is no longer under development. > > > Thanks. > > > Ruban. >
Thanks Nathan and Jan for the info about Ferret. This definitely looks promising. But the problem is that the Lucene index is used by various other applications and is generated by a different application. I just read from it and so I can''t really move the index to Ferret. But if I have to create one myself Ferret would definitely be in one of my preferences. Ruban Phukan ----- Original Message ---- From: Nathaniel S. H. Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> To: Ruban Phukan <phukan_ruban-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>; rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Sent: Saturday, November 19, 2005 14:53:56 Subject: RE: [Rails] Ruby/RoR - Lucene integration question ?? Just actually read a bit about Lucene, and found that there is a new port called Ferret which you may find interesting. Might be a more effective shift to move from Lucene to Ferrett then build a Ferrett gem to integrate into Rails. I am sure this would be well received open project in the Rails community :) Warmest regards, Nathan. -------------------------------------------------------------- Nathaniel S. H. Brown Toll Free 1.877.4.INIMIT Inimit Innovations Phone 604.724.6624 www.inimit.com Fax 604.444.9942> -----Original Message----- > From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Ruban Phukan > Sent: November 19, 2005 12:51 AM > To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: [Rails] Ruby/RoR - Lucene integration question ?? > > Hi, > > I''ve an application which is built with RoR and a search > index in Lucene. I need to be able to integrate Lucene into > the RoR app. What is the best way to do so ? > > > I know that rjni is a ruby-java bridge but is it stable ? > Also the update at http://thekode.net/ruby/rjni/ seems to > indicate that it is no longer under development. > > > Thanks. > > > Ruban. >
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Nov 19, 2005, at 1:33 AM, Ruban Phukan wrote:> Thanks Nathan and Jan for the info about Ferret. This definitely > looks promising. > But the problem is that the Lucene index is used by various other > applications and is generated by a different application. I just > read from it and so I can''t really move the index to Ferret. > > But if I have to create one myself Ferret would definitely be in > one of my preferences.Ferret uses Lucene indexes. You''re in business. jeremy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Darwin) iD8DBQFDfvgVAQHALep9HFYRAhrLAKDcSAfAlge6vDGfq/jNyLHTnT8pFACgzJVV /cPUCD3LE20VlfZXFDQz9nY=gZRP -----END PGP SIGNATURE-----
Ferret can read indexes generated by Lucene. See "How to use Ferret on an Existing Java Lucene Index" on http://ferret.davebalmain.com/trac/wiki/HowTos . By "full port", it means the whole enchilada is there, fully (?) compatible with Lucene. Actually, once the snazzy new C extensions are integrated, I'll be faster than the original Lucene. Now isn't that just peachy? Jacob On 11/19/05, Ruban Phukan <phukan_ruban@yahoo.com> wrote:> Thanks Nathan and Jan for the info about Ferret. This definitely looks promising. > But the problem is that the Lucene index is used by various other applications and is generated by a different application. I just read from it and so I can't really move the index to Ferret. > > But if I have to create one myself Ferret would definitely be in one of my preferences. > > > > > Ruban Phukan > > > ----- Original Message ---- > From: Nathaniel S. H. Brown <nshb@inimit.com> > To: Ruban Phukan <phukan_ruban@yahoo.com>; rails@lists.rubyonrails.org > Sent: Saturday, November 19, 2005 14:53:56 > Subject: RE: [Rails] Ruby/RoR - Lucene integration question ?? > > Just actually read a bit about Lucene, and found that there is a new port > called Ferret which you may find interesting. > > Might be a more effective shift to move from Lucene to Ferrett then build a > Ferrett gem to integrate into Rails. I am sure this would be well received > open project in the Rails community :) > > Warmest regards, > Nathan. > > -------------------------------------------------------------- > Nathaniel S. H. Brown Toll Free 1.877.4.INIMIT > Inimit Innovations Phone 604.724.6624 > www.inimit.com Fax 604.444.9942 > > > > -----Original Message----- > > From: rails-bounces@lists.rubyonrails.org > > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Ruban Phukan > > Sent: November 19, 2005 12:51 AM > > To: rails@lists.rubyonrails.org > > Subject: [Rails] Ruby/RoR - Lucene integration question ?? > > > > Hi, > > > > I've an application which is built with RoR and a search > > index in Lucene. I need to be able to integrate Lucene into > > the RoR app. What is the best way to do so ? > > > > > > I know that rjni is a ruby-java bridge but is it stable ? > > Also the update at http://thekode.net/ruby/rjni/ seems to > > indicate that it is no longer under development. > > > > > > Thanks. > > > > > > Ruban. > > > > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Thanks everyone. These were all very useful info ... sorry for overlooking the "full port" part of Ferret earlier. Ferret rocks... eagerly waiting for the high speed C extensions. Ruban Phukan ----- Original Message ---- From: Jacob Quinn Shenker <jqshenker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> To: Ruban Phukan <phukan_ruban-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>; rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Sent: Saturday, November 19, 2005 15:36:10 Subject: Re: [Rails] Ruby/RoR - Lucene integration question ?? Ferret can read indexes generated by Lucene. See "How to use Ferret on an Existing Java Lucene Index" on http://ferret.davebalmain.com/trac/wiki/HowTos . By "full port", it means the whole enchilada is there, fully (?) compatible with Lucene. Actually, once the snazzy new C extensions are integrated, I''ll be faster than the original Lucene. Now isn''t that just peachy? Jacob On 11/19/05, Ruban Phukan <phukan_ruban-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> Thanks Nathan and Jan for the info about Ferret. This definitely looks promising. > But the problem is that the Lucene index is used by various other applications and is generated by a different application. I just read from it and so I can''t really move the index to Ferret. > > But if I have to create one myself Ferret would definitely be in one of my preferences. > > > > > Ruban Phukan > > > ----- Original Message ---- > From: Nathaniel S. H. Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> > To: Ruban Phukan <phukan_ruban-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>; rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Sent: Saturday, November 19, 2005 14:53:56 > Subject: RE: [Rails] Ruby/RoR - Lucene integration question ?? > > Just actually read a bit about Lucene, and found that there is a new port > called Ferret which you may find interesting. > > Might be a more effective shift to move from Lucene to Ferrett then build a > Ferrett gem to integrate into Rails. I am sure this would be well received > open project in the Rails community :) > > Warmest regards, > Nathan. > > -------------------------------------------------------------- > Nathaniel S. H. Brown Toll Free 1.877.4.INIMIT > Inimit Innovations Phone 604.724.6624 > www.inimit.com Fax 604.444.9942 > > > > -----Original Message----- > > From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Ruban Phukan > > Sent: November 19, 2005 12:51 AM > > To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > Subject: [Rails] Ruby/RoR - Lucene integration question ?? > > > > Hi, > > > > I''ve an application which is built with RoR and a search > > index in Lucene. I need to be able to integrate Lucene into > > the RoR app. What is the best way to do so ? > > > > > > I know that rjni is a ruby-java bridge but is it stable ? > > Also the update at http://thekode.net/ruby/rjni/ seems to > > indicate that it is no longer under development. > > > > > > Thanks. > > > > > > Ruban. > > > > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Have the developers considered using RubyInline to optimize Ferret? That might be better than writing a C module. On 11/19/05, Ruban Phukan <phukan_ruban-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:> Thanks everyone. These were all very useful info ... sorry for overlooking the "full port" part of Ferret earlier. > > Ferret rocks... eagerly waiting for the high speed C extensions.