Class: ThinkingSphinx::Deltas::IndexJob
- Inherits:
-
Object
- Object
- ThinkingSphinx::Deltas::IndexJob
- Defined in:
- lib/thinking_sphinx/deltas/index_job.rb
Instance Method Summary collapse
-
#initialize(index_name) ⇒ IndexJob
constructor
A new instance of IndexJob.
- #perform ⇒ Object
Constructor Details
#initialize(index_name) ⇒ IndexJob
Returns a new instance of IndexJob.
4 5 6 |
# File 'lib/thinking_sphinx/deltas/index_job.rb', line 4 def initialize(index_name) @index_name = index_name end |
Instance Method Details
#perform ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/thinking_sphinx/deltas/index_job.rb', line 8 def perform ThinkingSphinx::Commander.call( :index_sql, configuration, :indices => [index_name], :verbose => !quiet_deltas? ) end |