Forum: Ferret Acts_as_ferret: Slow ferret_update with associated models

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jon F. (Guest)
on 2009-03-18 15:24

I am using some custom fields for ferret indexing to include fields from
associated models. When those child models are updated, I do
on the parent model. Unfortunately, that takes very long, depending on
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!

This topic is locked and can not be replied to.