Hi John Thinking Sphinx doesn't automatically flag the parent object as changed when associations change - but it is something you can set up yourself. Add a callback in the association model and change the parent model to have delta set to true, and save it. This should invoke the delta indexing.
Maybe one day TS will add this hook automatically, but I don't want to add extra overhead if it's not needed - so I guess it should be an option. Not a high priority for me at this point though. Cheers -- Pat On 03/06/2009, at 12:48 PM, johne wrote: > > When using TS to index associated models it works great. The issue I > have is on updates to the associated models, the index is not > updated. > > I have a hard time trying to understand why you would ever index the > associated models if the index is not updated when the associated > models are changed. > > Can someone enlighten me? > > Thanks > > john > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
