Class: FlyingSphinx::ResqueDelta::DeltaJob
- Inherits:
-
ThinkingSphinx::Deltas::ResqueDelta::DeltaJob
- Object
- ThinkingSphinx::Deltas::ResqueDelta::DeltaJob
- FlyingSphinx::ResqueDelta::DeltaJob
- Defined in:
- lib/flying_sphinx/resque_delta/delta_job.rb
Class Method Summary collapse
-
.perform(indices) ⇒ Object
Runs Sphinx’s indexer tool to process the index.
Class Method Details
.perform(indices) ⇒ Object
Runs Sphinx’s indexer tool to process the index. Currently assumes Sphinx is running.
9 10 11 12 13 |
# File 'lib/flying_sphinx/resque_delta/delta_job.rb', line 9 def self.perform(indices) return if skip?(indices) FlyingSphinx::IndexRequest.new(indices).perform end |