Class: ThinkingSphinx::Deltas::IndexJob

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

Instance Method Summary (collapse)

Constructor Details

- (IndexJob) initialize(index_name)



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

- (Object) perform



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