[Q] acts_as_ferret : how to initialize index


#1

Suppose I have an existing database and would like to use ferret. What’s
an easy way to ferretize the existing data in a table?

Thanks


#2

We took one of the acts_as_ferret implementations found at
http://ferret.davebalmain.com/trac/wiki/FerretOnRails and modified it
a little to fit our project’s needs. Unfortunately, it looks like
davebalmain.com is down at the moment.

The implementations were posted and discussed in the following rails
thread: http://thread.gmane.org/gmane.comp.lang.ruby.rails/32709. The
implementation in
http://article.gmane.org/gmane.comp.lang.ruby.rails/35112 is what we
started with. It even has a simple rake task for rebuilding the
index.

So far it is working well for us. Good luck.

-Lee


#3

Unfortunately, it looks like
davebalmain.com is down at the moment.

It’s back up again. Looks like I got back from my holidays just in time.
:slight_smile: