On Jan 24, 2010, at 2:33 PM, RubyonRails_newbie 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:
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: