Hi Jason

The updates that are happening are for (integer, timestamp and boolean) 
attributes only - which happens whether or not deltas are in play. TS works 
with the premise that some updates are better than no updates.

If you don't want that to happen, that's fine - but the catch is that if you 
set update_enabled to false, then I think that will stop delta updates as well. 
I know this isn't ideal, and should probably be changed. Patches for both TS 
and ts-datetime-delta would be great, otherwise I'll try to get to that soon.

Cheers

-- 
Pat

On 27/05/2011, at 10:50 PM, Jason Yanowitz wrote:

> Hi,
> 
> We're using ts-datetime-delta (v1.0.2) with ThinkingSphinx.
> 
> We've noticed that when using it ("set_properties :delta => :datetime"
> in the define_index block) that searchd is still getting contacted
> when saving a model (you can see this happening in strace -
> ThinkingSphinx::ActiveRecord::AttributeUpdates.update_attribute_values
> appears to be the culprit).
> 
> ThinkingSphinx.updates_enabled = false
> 
> solves this.
> 
> Is there any reason to not set updates_enabled to false?  Is there a
> reason when using ts-datetime-delta not to have updates_enabled set to
> false automatically?
> 
> Thanks,
> 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.
> 

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