Sha256: f23ca205b1ab73543271083c19f1d51139c542071d70a5dd427fcd043126b8c5

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

class ThinkingSphinx::Deltas::IndexJob
  def initialize(indices)
    @indices = indices
    @indices << {:verbose => !ThinkingSphinx.suppress_delta_output?}
  end

  def perform
    ThinkingSphinx::Configuration.instance.controller.index *@indices
    ThinkingSphinx::Connection.pool.clear

    true
  end

  def configuration
    ThinkingSphinx::Configuration.instance
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thinking-sphinx-2.1.0 lib/thinking_sphinx/deltas/index_job.rb
thinking-sphinx-1.5.0 lib/thinking_sphinx/deltas/index_job.rb