Class: ThinkingSphinx::Deltas::IndexJob

Inherits:
Object
  • Object
show all
Defined in:
lib/thinking_sphinx/deltas/index_job.rb

Instance Method Summary collapse

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

#performObject



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