Hi All, this may over-lap with my recent ferret post, but I wondered if anyone knew of the best way to add a search engine for rails on your site? I''ve tried ferret, which seems a bit ''''hit n miss'''' Someone has also reccomeded paperclip. In addition to this, where would I look to find the ability to add a google contacts search facility? So - anyone can enter their account and find people on my site who are also on gmail? Face book have this, but dunno how it''s implemented, or where to start looking... Any help appreciated as always -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Jan 24, 2010, at 2:33 PM, RubyonRails_newbie wrote:> > Hi All, > > this may over-lap with my recent ferret post, but I wondered if anyone > knew of the best way to add a search engine for rails on your site? > > I''ve tried ferret, which seems a bit ''''hit n miss''''They all seem a bit "hit n miss". That''s probably because they respond best with large databases and you are probably working with a test database. The three candidates I''ve used are: * Sphinx * Solr * Ferret From my perspective, the best choice is the one that provides the most pleasing results for you. Sphinx does very quick indexing, but not in real time (i.e., as the row is inserted).> Someone has also reccomeded paperclip.Paperclip is for adding attachments to existing models "as if" they were just another column in the database. Storage of the attachment can be in your filesystem, or Amazon S3, or pretty much anywhere else in the cloud. You provide the implementation for the "anywhere else" part.> In addition to this, where would I look to find the ability to add a > google contacts search facility? So - anyone can enter their account > and find people on my site who are also on gmail? Face book have this, > but dunno how it''s implemented, or where to start looking...Start here: http://code.google.com/apis/contacts/. Then look here: http://github.com/mislav/contacts. Good luck! -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Solr is a better alternative in my experience. I''ve used acts_as_solr. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Cheers all, I will dig into this now. Appreciate ther feedback.. On 24 Jan, 22:49, steve ross <cwdi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Jan 24, 2010, at 2:33 PM, RubyonRails_newbie wrote: > > > > > Hi All, > > > this may over-lap with my recent ferret post, but I wondered if anyone > > knew of the best way to add a search engine for rails on your site? > > > I''ve tried ferret, which seems a bit ''''hit n miss'''' > > They all seem a bit "hit n miss". That''s probably because they respond best with large databases and you are probably working with a test database. The three candidates I''ve used are: > > * Sphinx > * Solr > * Ferret > > From my perspective, the best choice is the one that provides the most pleasing results for you. Sphinx does very quick indexing, but not in real time (i.e., as the row is inserted). > > > Someone has also reccomeded paperclip. > > Paperclip is for adding attachments to existing models "as if" they were just another column in the database. Storage of the attachment can be in your filesystem, or Amazon S3, or pretty much anywhere else in the cloud. You provide the implementation for the "anywhere else" part. > > > In addition to this, where would I look to find the ability to add a > > google contacts search facility? So - anyone can enter their account > > and find people on my site who are also on gmail? Face book have this, > > but dunno how it''s implemented, or where to start looking... > > Start here:http://code.google.com/apis/contacts/. Then look here:http://github.com/mislav/contacts. > > Good luck!-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 24 Jan 2010, at 23:49, steve ross wrote:>> this may over-lap with my recent ferret post, but I wondered if >> anyone >> knew of the best way to add a search engine for rails on your site? >> >> I''ve tried ferret, which seems a bit ''''hit n miss'''' > > They all seem a bit "hit n miss". That''s probably because they > respond best with large databases and you are probably working with > a test database. The three candidates I''ve used are: > > * Sphinx > * Solr > * FerretWe use Solr for all but one of our applications, using a custom developed plugin (based on thinking sphinx), working like a charm on our databases that need realtime indexing without delta indexes. Ferret corrupted very often, Sphinx has the realtime problem. Another option might be to look into MongoDB as a database, has some pretty nifty indexing features too. Requires a bit of a different mindset than normal relational databases though and might not be suited for every project. Best regards Peter De Berdt -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Here''s a tutorial I created for embedding google''s search engine for in-site searching only. http://www.ruby-forum.com/topic/201324 -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi, about the search, take a look at acts_as_solr_reloaded: http://github.com/dcrec1/acts_as_solr_reloaded Here it''s explained and there is a demo video: http://www.diegocarrion.com/2010/01/18/thinkingsphinx-exits-enters-actsassolrreloaded/ About the contacts, take a look at this plugin: http://github.com/dcrec1/contacts_rails Hope that helps :) On Jan 24, 8:33 pm, RubyonRails_newbie <craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Hi All, > > this may over-lap with my recent ferret post, but I wondered if anyone > knew of the best way to add a search engine for rails on your site? > > I''ve tried ferret, which seems a bit ''''hit n miss'''' > > Someone has also reccomeded paperclip. > > In addition to this, where would I look to find the ability to add a > google contacts search facility? So - anyone can enter their account > and find people on my site who are also on gmail? Face book have this, > but dunno how it''s implemented, or where to start looking... > > Any help appreciated as always-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.