Hey, I have this config on my User model:

  define_index do
    indexes login, :sortable => true
    indexes name, :sortable => true
    set_property :delta => :datetime, :threshold => 1.day
    set_property :enable_star => true
    set_property :min_prefix_len => 3
    set_property :morphology => false
  end

Whenever I try to destroy a recent User I get

account#destroy (NoMethodError) "undefined method `delta' for #<User:
0x2b75095e14c0>"

I'm migrating from Ultrasphinx and not quite used to how TS handles
deltas yet. Do my user gets included in the delta index even if I
haven't run the delta indexing yet? (I'm running ts:index every 2
hours)

Thanks,

-Spe.

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