class ThinkingSphinx::Commands::IndexRealTime

Public Instance Methods

call() click to toggle source
# File lib/thinking_sphinx/commands/index_real_time.rb, line 4
def call
  options[:indices].each do |index|
    ThinkingSphinx::RealTime::Populator.populate index

    command :rotate
  end
end

Private Instance Methods

type() click to toggle source
# File lib/thinking_sphinx/commands/index_real_time.rb, line 14
def type
  'indexing'
end