# File lib/riddle/controller.rb, line 26
    def index(*indices)
      options = indices.last.is_a?(Hash) ? indices.pop : {}
      indices << '--all' if indices.empty?

      command = "#{indexer} --config \"#{@path}\" #{indices.join(' ')}"
      command = "#{command} --rotate" if running?

      Riddle::ExecuteCommand.call command, options[:verbose]
    end