Hi,

It looks like my newly created record do not get indexed at all using
default delta indexing (details below) - I suspect the after save/
create callbacks do not get called (I'm under Ramaze so I wouldn't be
surprised something doesn't work out of the box).

I ended up putting a puts statement into DefaultDelta#index and it
never get called.

Any idea what could be going on ? I'm going to add debug statements
into ThinkingSphinx::ActiveRecord::Delta to see if I spot something.

-- Thibaut

Here are the detailed steps I followed (as recommended on
http://freelancing-god.github.com/ts/en/deltas.html):
- ran a migration with add_column :items, :delta, :boolean, :default
=> true, :null => false (I understand that delta = true translates
into "this record needs to be indexed")
- added set_property :delta => true
- reconfigured and restarted sphinx
- at first I didn't add this, but as I'm in Ramaze I thought
delta_enabled and updates_enabled should be set to true:
  ThinkingSphinx.deltas_enabled         = true
  ThinkingSphinx.updates_enabled        = true
  ThinkingSphinx::Configuration.instance.load_models

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