Acts_as_ferret: Slow ferret_update with associated models


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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs