Hi,

Is it possible to override indexed_data_changed? with my own logic? My
issue is that indexed_data_changed? is always returning true
regardless if the indexed data is actually changed. Here is how I've
defined

class User < ActiveRecord::Base

  has_one :profile, :dependent => :destroy

  define_index 'user_base' do
    indexes profile.about_me

    has '0', :type => :integer, :as => :contact_filter_user_id

    set_property :delta => :delayed
  end

....
end

Every time I save a user, it thinks profile.about_me has chnaged and
thus flags the delta. The index still works, but it just creates a lot
of unnecessary delta indexing load.

Any idea what would be a good way to solve this?

Thanks.
Calvin

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