Hey, 

Delta indexing relies on delayed_job or resque worker. Make sure you set up 
that as well. 

Bek

On Feb 8, 2012, at 8:44 PM, Surbhi wrote:

> Hi,
> 
> When I create a new record, the newly created instance is not getting
> searched. The instance appears in search only when I re-index use rake
> tasks.
> 
> I am running in production mode on a linux machine and the
> configurations as below -
> 
> Sphinx server: sphinx-2.0.2
> thinking-sphinx: 2.0.10
> Rails: 3.1.1
> Ruby: 1.9.3
> 
> I have defined my index as
> 
> define_index do
>    indexes :name
>    indexes updated_by_user.profile(:first_name), :as => :first_name
>    indexes updated_by_user.profile(:middle_initial), :as
> => :middle_name
>    indexes updated_by_user.profile(:last_name), :as => :last_name
>    has users(:id), :as => :user_id
>    set_property :delta => true
>  end
> 
> Added colum delta in table as,
>  t.boolean  "delta" ,:default => true , :null => false
> 
> Is there something obvious I am missing?
> 
> Regards,
> Surbhi
> 
> -- 
> 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.
> 

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