Re: Adding SEARCH functionality to a website

InventoryTrackers
Wed, 28 Oct 2009 14:02:34 -0000

I''ve been developing Rails apps now for about three years and I was
always mystified why there was no mainstream approach for running
searches against my models.
I didn''t like the ferret and sphinx approaches as they create MONSTER
index files that have to be deleted from time to time with a CRON job.
Instead, I stumbled upon a reasonably universal approach and have
followed this for all projects.
If you''re still in a quandry after you read this, send me an email and
I''ll copy you some parts of my code that will explain it.
Best of Luck,
David

On Oct 27, 4:12 am, RubyonRails_newbie
<craigwest...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
wrote:
> Hi there,
>
> I’ve tried to implement ferret into my web application which would be
> used to search the various models and return results based on the word
> entered.
>
> I cant get this to work, and wondered if anyone uses any other
> searchable plugin for Ruby on Rails, and if so, what was best?
>
> I don''t need anything specifically fancy – but something that at
least
> returns me some results.
>
> Any Ideas?
>
> If anyone has had success using ferret – please check
out:http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/threa...
>
> And see if you can help me out….
>
> Cheers