Sha256: 8e770292acad39613d27b105b3c49020fa6e062b9d67cc4815ab10022d4c62ca

Contents?: true

Size: 301 Bytes

Versions: 6

Compression:

Stored size: 301 Bytes

Contents

# frozen_string_literal: true

class ThinkingSphinx::Commands::IndexRealTime < ThinkingSphinx::Commands::Base
  def call
    options[:indices].each do |index|
      ThinkingSphinx::RealTime::Populator.populate index

      command :rotate
    end
  end

  private

  def type
    'indexing'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
thinking-sphinx-4.3.2 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-4.3.1 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-4.3.0 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-4.2.0 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-4.1.0 lib/thinking_sphinx/commands/index_real_time.rb
thinking-sphinx-4.0.0 lib/thinking_sphinx/commands/index_real_time.rb