What do people think of an addition to the DSL for handling automatic
updating of attributes defined by SQL-snippet: http://gist.github.com/596934
?

I was thinking that in case in the gist: if a group's :state
or :memberships_count are updated (specified by
`attributes :state, :memberships_count`), using group.membership_ids
ThinkingSphinx should mass update all documents in searchd with the
latest attribute value for :is_big_group as defined by the `value`
block.

I know it seems really verbose, but I can't really think of a better
way of doing it without having to somehow interpret the SQL-snippet...

I was also thinking that it might be nice to automagically handle
setting delta = 1 when associated models are changed...

Any thoughts?

Thanks,
Aaron

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