Re: ** UPDATE** Adding SEARCH functionality to a website

Andrew Pace
Wed, 28 Oct 2009 03:26:03 -0000

I assume that you have tried this but if not it is worth a shot.  If
your model was filled with data prior to setting up ferret, then I
don''t believe those rows will be indexed.  You will need to build the
index or rebuild it.  If you have not added any new data to the
database, you may very well have it all set up correctly but it will
return nothing.  Try Model.rebuild_index, if you haven''t and try the
search function again.  Also, it may be helpful to go to the script/
console to bypass your controllers and views to see what data is
coming back.  Just my thoughts.

Andrew