delta indexing gems

0 views
Skip to first unread message

Mike C

unread,
Nov 13, 2009, 4:11:16 PM11/13/09
to Thinking Sphinx
I just read that there are gems to implement the 2 delta indexing
techniques, but are these in addition to the thinking sphinx gem are
replacements for it? When using both, I get this error:

rake aborted!
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.now

But only using the original thinking sphinx works. I'm using
delayed_job.

Pat Allan

unread,
Nov 13, 2009, 7:42:28 PM11/13/09
to thinkin...@googlegroups.com
Hi Mike

The new delta gems are in addition to the core Thinking Sphinx gem.

When you're getting the error, what gem versions are you using, what's
the gem config for them in your environment.rb file, and what are the
thinking sphinx lines in your Rakefile?

--
Pat

Mike C

unread,
Nov 13, 2009, 9:24:28 PM11/13/09
to Thinking Sphinx
config.gem 'freelancing-god-thinking-sphinx', :lib =>
'thinking_sphinx', :source => "http://gems.github.com", :version => "=
1.2.10"
config.gem 'ts-delayed-delta', :lib => 'thinking_sphinx/deltas/
delayed_delta', :version => '>= 1.0.0', :source => 'http://
gemcutter.org'

require 'thinking_sphinx/tasks'
require 'thinking_sphinx/deltas/delayed_delta/tasks'

Pat Allan

unread,
Nov 13, 2009, 10:09:40 PM11/13/09
to thinkin...@googlegroups.com
Hi Mike

You'll need to get a more recent version of Thinking Sphinx - the
delayed delta code was taken out since 1.3. (Or alternatively, just
don't use the delayed delta gem, since the relevant code is still in
TS 1.2.10).

--
Pat

Mike C

unread,
Nov 14, 2009, 3:31:35 AM11/14/09
to Thinking Sphinx
Ok, thanks! :)
Reply all
Reply to author
Forward
0 new messages