# File lib/riddle/controller.rb, line 36 def merge(destination, source, options = {}) options = DEFAULT_MERGE_OPTIONS.merge options command = "#{indexer} --config \"#{@path}\"".dup command << " --merge #{destination} #{source}" options[:filters].each do |attribute, value| value = value..value unless value.is_a?(Range) command << " --merge-dst-range #{attribute} #{value.min} #{value.max}" end command << " --rotate" if running? Riddle::ExecuteCommand.call command, options[:verbose] end