Class: ThinkingSphinx::Deltas::ResqueDelta::DeltaJob
- Inherits:
-
Object
- Object
- ThinkingSphinx::Deltas::ResqueDelta::DeltaJob
- Defined in:
- lib/thinking_sphinx/deltas/resque_delta/delta_job.rb
Overview
A simple job class that processes a given index.
Class Method Summary collapse
-
.perform(index) ⇒ Object
Runs Sphinx’s indexer tool to process the index.
Class Method Details
.perform(index) ⇒ Object
Runs Sphinx’s indexer tool to process the index. Currently assumes Sphinx is running.
11 12 13 |
# File 'lib/thinking_sphinx/deltas/resque_delta/delta_job.rb', line 11 def self.perform(index) ThinkingSphinx::Deltas::IndexJob.new(index).perform end |