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.
2 3 4 |
# File 'lib/thinking_sphinx/deltas/index_job.rb', line 2 def initialize(index_name) @index_name = index_name end |
Instance Method Details
#perform ⇒ Object
6 7 8 9 |
# File 'lib/thinking_sphinx/deltas/index_job.rb', line 6 def perform configuration.controller.index @index_name, :verbose => !configuration.settings['quiet_deltas'] end |