1. Sure, you can use both if you wish - but only one *or* the other in each 
index definition.
2. The latest ts-delayed-delta code is in version 2.0.0 - the edge branch on 
GitHub is old.
3. To run the delayed deltas, just run delayed job itself. There's no longer a 
special rake task - it wasn't required. The documentation is out of date, sorry!

Cheers

-- 
Pat

On 08/08/2013, at 8:49 PM, [email protected] wrote:

> 1、May I use both default delta and ts-delayed-delta?
> 2、first  in Gemfile I add:
>      gem 'ts-delayed-delta',
>       :git    => 'git://github.com/pat/ts-delayed-delta.git',
>       :branch => 'edge',
>       :ref    => 'cc6117374b93a7d559a39eee943fb34988971640'
>   
> next I run     rail g delayed-job
> then I run     rake ts:delayed_delta --trace,  error as follows:
>         rake aborted!
> Don't know how to build task 'ts:delayed_delta'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/task_manager.rb:49:in
>  `[]'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:148:in
>  `invoke_task'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in
>  `block (2 levels) in top_level'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in
>  `each'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in
>  `block in top_level'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:115:in
>  `run_with_threads'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:100:in
>  `top_level'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:78:in 
> `block in run'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:165:in
>  `standard_exception_handling'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:75:in 
> `run'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/bin/rake:33:in `<top 
> (required)>'
> /usr/local/bin/rake:23:in `load'
> /usr/local/bin/rake:23:in `<main>'
> 
> 
> if I add "require 'thinking_sphinx/deltas/datetime_delta/tasks'" in Rakefile, 
> then rake ts:delayed_delta --trace,    error as follows:
> ake aborted!
> cannot load such file -- thinking_sphinx/deltas/delayed_delta/tasks
> /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in
>  `require'
> /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in
>  `block in require'
> /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in
>  `load_dependency'
> /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in
>  `require'
> /home/git/labhub/Rakefile:6:in `<top (required)>'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/rake_module.rb:25:in 
> `load'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/rake_module.rb:25:in 
> `load_rakefile'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:637:in
>  `raw_load_rakefile'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:94:in 
> `block in load_rakefile'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:165:in
>  `standard_exception_handling'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:93:in 
> `load_rakefile'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:77:in 
> `block in run'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:165:in
>  `standard_exception_handling'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:75:in 
> `run'
> /usr/local/lib/ruby/gems/1.9.1/gems/rake-10.1.0/bin/rake:33:in `<top 
> (required)>'
> /usr/local/bin/rake:23:in `load'
> /usr/local/bin/rake:23:in `<main>'
> 
> I wonder to know how I should do? Thanks!
> 
> -- 
> 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 http://groups.google.com/group/thinking-sphinx.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to