class ThinkingSphinx::Commands::Merge
Public Instance Methods
call()
click to toggle source
# File lib/thinking_sphinx/commands/merge.rb, line 4 def call return unless indices_exist? controller.merge( options[:core_index].name, options[:delta_index].name, :filters => options[:filters], :verbose => options[:verbose] ) end
Private Instance Methods
indices_exist?()
click to toggle source
# File lib/thinking_sphinx/commands/merge.rb, line 19 def indices_exist? File.exist?("#{options[:core_index].path}.spi") && File.exist?("#{options[:delta_index].path}.spi") end
type()
click to toggle source
# File lib/thinking_sphinx/commands/merge.rb, line 24 def type 'merging' end