module RSolr

def self.connect *args

def self.connect *args
  opts = args.pop if args.last.is_a?(::Hash)
  opts ||= {}
  connection = args.first
  Client.new connection, opts
end