Hi guys,

I'm in the process of updating sphinx and thinking-sphinx to their
latest release.
Before I was using :
- sphinx 0.9.8.1
- freelancing-god-thinking-sphinx (1.2.11) as a gem
- delayed_job (1.8.4) as a plugin

We where using a lot delayed job in the app and we experienced some
conflict problems with previously bundled one in TS gem.

So we've decided to upgrade with :
- thinking-sphinx (1.3.7) as a gem
- delayed_job (1.8.4) as a gem
- ts-delayed-delta (1.0.1) as a gem

My app on rails 2.3.4 (before and after)

So as the upgrade process I've
- installed sphinx 0.9.9rc2 form source (on ubuntu)
- installed gems from gemcutter
- modified environement.rb with

@@@
  config.gem "thinking-sphinx", :lib => 'thinking_sphinx/
0.9.9', :source  => 'http://gemcutter.org'
  config.gem "delayed_job"
  config.gem 'ts-delayed-delta', :lib => 'thinking_sphinx/deltas/
delayed_delta', :version => '>= 1.0.0', :source  => 'http://
gemcutter.org'
@@@

- changed all :delta => true by :delta => :delayed
- modify Rakefile and add

@@@
require 'thinking_sphinx/0.9.9'
require 'thinking_sphinx/tasks'
require 'delayed/tasks'
require 'thinking_sphinx/deltas/delayed_delta/tasks'
@@@

Delayed_job, sphinx and TS are installed on the same machine (which is
however neither the app nor the db. It's a dedicated queuing machine)

After ts:rebuild and some corrections of not well defined indexes the
app is running fine for the search part. However I didn't understand
quite well the delta stuff with delayed_job. We have a DJ deamon
working permanently launched through script/delayed_job

When I update content the queue is updated
--- !ruby/object:ThinkingSphinx::Deltas::FlagAsDeletedJob document_id:
103 indexes: - user_core

but nothing is done. Just the number of attempts increasing

I've tried to launch rake thinking_sphinx:delayed_delta however it
crashed
*** Starting job worker host:XXXXX pid:11548
rake aborted!
Job failed to load: uninitialized constant
ThinkingSphinx::Deltas::DeltaJob. Try to manually require the required
file.

Is there someone to help me ?

Thanks
Cyrille

--

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