Hi, (i'm running with rails 2.1.2, TS 0.9.9 [just updated to ], Sphinx 0.9.9-rc1)
We are used delta delayed (with a daemon to run the delayed jobs) for updating our indexes. We are using acts_as_taggable_on_steroids for tagging, but I think this happens with any acts_as_* When changes to tags are made, the object is not reindexed by TS (there is no job inserted into the delayed jobs table). Except sometimes they are. I believe it has to do with the "delta" attribute in the model. Under certain circumstances (which I haven't determined), that value can become "false" in the db. If that happens, then changes to the tags don't produce a delayed_job for indexing. If I set delta=true on that object, save it to the db, and then update tags, everything works as expected. Note, regardless of the value of delta, changing other aspects of a model produces an update in the index as expected. Questions: 1. Why do I need a delta column if I'm using delayed_jobs? I tried to get rid of it, but TS complained loudly. 2. Why does delta sometimes end up false? Nothing in my code explicitly touches it. 3. What's the best way to fix this? Many thanks for any help, Jason --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
