Hi Ian

Yup, that's what you'll need to do. Just to be clear:

  script/generate migration add_delta_to_jobs

Then in the migration file:
  add_column :jobs, :delta, :boolean, :default => true

This column is how Thinking Sphinx knows which records have been updated since 
the last index.

Cheers

-- 
Pat

On 13/07/2010, at 12:13 AM, Chiyu Ian He wrote:

> Sorry but I am not 100% sure what you mean by 'add a boolean column
> with the name 'delta' to your model.'
> Do you mean like add :boolean to my migration file?
> 
> Thanks,
> 
> Ian
> 
> -- 
> 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