Is there anyway to do a fulltext search with relevance using Rails & ActiveRecord? I''d just write the SQL myself, but I''d rather not in order to avoid having to update that SQL if and when I change the relevant db schema. Thanks in advance! ==================DISCLAIMER===============================This email may contain confidential and privileged material for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies of it from your system. The sender accepts no responsibility for viruses and it is your responsibility to scan attachments (if any). No contracts may be concluded on behalf of the sender by means of email communications unless expressly stated to the contrary. ==================DISCLAIMER================================
zedshaw-dd7LMGGEL7NBDgjK7y7TUQ@public.gmane.org
2005-Sep-06 19:53 UTC
Re: Fulltext SQL Search w/ relevance
I use Ruby/Odeum (which I wrote the binding for) and a simple DRb based search server to do that. It works pretty good, and gives nice relevant results very quickly. Contact me off-list of you''re interested in setting this up. It''s pretty easy, but requires that you create a couple of before filters on your AR objects to get them indexed. Zed> Is there anyway to do a fulltext search with relevance using Rails & > ActiveRecord? I''d just write the SQL myself, but I''d rather not in > order to avoid having to update that SQL if and when I change the > relevant db schema. > > Thanks in advance!
Hi, zedshaw-dd7LMGGEL7NBDgjK7y7TUQ@public.gmane.org wrote:> I use Ruby/Odeum (which I wrote the binding for) and a simple DRb based > search server to do that. It works pretty good, and gives nice relevant > results very quickly. > > Contact me off-list of you''re interested in setting this up. It''s pretty > easy, but requires that you create a couple of before filters on your AR > objects to get them indexed.I''d be very interested too on such a solution. Could you answer on list, or better, set up a wiki page to describe how you do this ? -- Jean-Christophe Michel
Count me in too :) On 9/7/05, Jean-Christophe Michel <jc.michel-/aRvmaKoZxNWk0Htik3J/w@public.gmane.org> wrote:> > Hi, > > zedshaw-dd7LMGGEL7NBDgjK7y7TUQ@public.gmane.org wrote: > > I use Ruby/Odeum (which I wrote the binding for) and a simple DRb based > > search server to do that. It works pretty good, and gives nice relevant > > results very quickly. > > > > Contact me off-list of you''re interested in setting this up. It''s pretty > > easy, but requires that you create a couple of before filters on your AR > > objects to get them indexed. > > I''d be very interested too on such a solution. Could you answer on list, > or better, set up a wiki page to describe how you do this ? > > -- > Jean-Christophe Michel > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails