I am having a problem with records disappearing.  It happens 
intermittently, I can’t recreate it.  Any thoughts on how to fix or debug 
this would be much appreciated.


Here is a simplified version of my situation:


class Client < ActiveRecord::Base

  has_many :client_orders

  has_many :orders, :through => : client_orders

end


ThinkingSphinx::Index.define : client_order, :with => :active_record, 
:delta => true do

  indexes this and that

  has client_id

end


thinking-sphinx 3.2.0

Sphinx 2.2.9


When a client_order is updated all the orders for that client disappear.  
Orders for other clients are fine.  Rightly or wrongly I can fix it with:


rm -r db/sphinx;rm config/production.sphinx.conf;rm -r 
tmp/binlog/production;

rebuild index


I have a cron job in place to rebuild indexes daily.


Any thoughts?


Many thanks,


Mike

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to