Only the indexed model's updated_at column is taken into account, I'm afraid.

However, you could look at using Rails' :touch option - I'm not sure if this 
fires callbacks, though.
http://archives.ryandaigle.com/articles/2009/4/20/what-s-new-in-edge-rails-touching

-- 
Pat

On 08/02/2012, at 8:17 PM, mohitnegi wrote:

> I ma using  "ts-datetime-delta" gem for my incremental indexing.
> 
> It says that it will use the updated_at column.
> 
> In defining my index, i have used fields from the associated models also, so 
> if the values in those table will change,then while running my raketask for 
> incremental indexing it will be considered or only the current model 
> updated_at will be looked into(as this may not have been updated but the 
> associated class field may have updated).
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/thinking-sphinx/-/3ve3p54AByQJ.
> 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.



-- 
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.

Reply via email to