Sha256: 0f4bbd6de32d50c1f257700a407292f8dad70f6fc6d86e4143c93c872410b2ca

Contents?: true

Size: 270 Bytes

Versions: 11

Compression:

Stored size: 270 Bytes

Contents

# frozen_string_literal: true

class ThinkingSphinx::Commands::IndexRealTime < ThinkingSphinx::Commands::Base
  def call
    ThinkingSphinx::RealTime.processor.call options[:indices] do
      command :rotate
    end
  end

  private

  def type
    'indexing'
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
thinking-sphinx-5.6.0 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-5.5.1 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-5.5.0 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-5.4.0 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-5.3.0 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-5.2.1 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-5.2.0 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-5.1.0 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-5.0.0 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-4.4.1 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-4.4.0 lib/thinking_sphinx/commands/index_real_time.rb