Hi everyone,
I'm trying to setup delta indexing using the Delayed Job method
discussed in the documentation. I believe I've done everything
mentioned in the documentation, but my indexes never get updated
automatically. I believe my problem is a lack of understanding the
workflow and how this interaction is supposed to work.
I have two processes running: first is the ts:start task, and in
another terminal the ts:dd. I have a 'delta' column in my model, and
these records get saved through ActiveRecord. When they are saved,
the delta column is set to 1. I don't understand what triggers the
indexing to happen, and my delayed_jobs table doesn't contain any
rows.
Could someone please tell me what is supposed to happen next, or what
I am missing?
I have the following in my model:
class Phrase < ActiveRecord::Base
belongs_to :document
define_index do
indexes text
set_property :delta => :delayed
end
end
I appreciate any help. Thank you, -Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---