Forum: Ferret Acts_as_ferret: Slow ferret_update with associated models

Posted by Jon Felsing (jonifel)
on 2009-03-18 14:24
Hi,

I am using some custom fields for ferret indexing to include fields from
associated models. When those child models are updated, I do
ferret_update
on the parent model. Unfortunately, that takes very long, depending on
the
number of associated child models. That is because every child model is
called to re-index the parent, instead of just the changed one.

What can I do to speed up re-indexing?
I am using Rails 2.1.2, Ferret 0.11.6 and ActsAsFerret 0.4.2.
Thanks for your advice!

Best
Jon
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.