I''m at a point where I''d like to start adding search capability to my app, so I thought I''d ask: Anyone have any recommendations for a good Rails search library/plugin/etc? There seem to be quite a few different ones out there, but I don''t have much context on any of them. What is the difference between using Ferret, or a SearchGenerator, SimpleSearch, etc? Thanks! Jeff -- Posted via http://www.ruby-forum.com/.
I have had the best results with using acts_as_ferret. John On 3/31/06, Jeff Coleman <progressions@gmail.com> wrote:> > I''m at a point where I''d like to start adding search capability to my > app, so I thought I''d ask: > > Anyone have any recommendations for a good Rails search > library/plugin/etc? There seem to be quite a few different ones out > there, but I don''t have much context on any of them. > > What is the difference between using Ferret, or a SearchGenerator, > SimpleSearch, etc? > > Thanks! > Jeff > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- John Hornbeck http://findlawton.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060401/8ddc5c80/attachment.html
im not sure what my application needs. basically all of my data, so called food recipes, are going to be stored in a table. if a user types in "bbq ribs" in the search box that is specified to search for title field in the recipe table, will it match titles that are named "island bbq style ribs", "grilled ribs", or does the search engines need exact title match to return a query? does the search engine return the titles that match both words first? etc... maybe i should go with ferret since its most widely use? any help would be greatly appreciated. thank you. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hi, bbqTree schrieb:> maybe i should go with ferret since its most widely use?Yes: http://projects.jkraemer.net/acts_as_ferret Lutz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hi, I prefer acts_as_searchable. It user HyperEstraier (it seems to have better utf support then ferret). It is a bit more complex to setup HyperEstraier, but I think it is worth it. http://poocs.net/2006/4/6/introducing-acts-as-searchable Hamza --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 10/10/06, hamza khan-cheema <hamzakc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > I prefer acts_as_searchable. It user HyperEstraier (it seems to have > better utf support then ferret).Hi Hamza, In what way is the utf8 support better? Just curious. Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Dave, Well I guess that statement does not have much weight behind it. I should not have said that, it is just my impression :) I can just base that on past experiance. If you go to the HyperEstraier demonstration site, in Japanese (http://rbbs.sourceforge.jp/cgi-bin/estdemo-ja/estseek.cgi?clip=7) You will see that it handles utf-8 very nicely. When I was working on www.chinadialogue.net , I first started using Ferret, but found that I was having difficulities indexing the content. So I tried using HyperEstaier, and it just seemed to make the index. Looking back, it might not have anything to do with utf-8, just my lack of knowledge. Hamza --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 10/10/06, hamza khan-cheema <hamzakc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Dave, > > Well I guess that statement does not have much weight behind it. I > should not have said that, it is just my impression :) > > I can just base that on past experiance. If you go to the > HyperEstraier demonstration site, in Japanese > (http://rbbs.sourceforge.jp/cgi-bin/estdemo-ja/estseek.cgi?clip=7) You > will see that it handles utf-8 very nicely. > > When I was working on www.chinadialogue.net , I first started using > Ferret, but found that I was having difficulities indexing the content. > So I tried using HyperEstaier, and it just seemed to make the index. > > Looking back, it might not have anything to do with utf-8, just my lack > of knowledge.Maybe not. Ferret has come a long way in the last few months. UTF-8 data should be fine. The only problem you might run into now is if you use mixed data encodings like UTF-8 and ISO-8859-1 together but I imagine this wouldn''t be good in HyperEstraier either. Maybe I''m wrong and it does detecting the data encoding somehow. Cheers, Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---