require 'rsolr' # Direct connection solr = RSolr.connect :url => 'http://solrserver.com' # Connecting over a proxy server solr = RSolr.connect :url => 'http://solrserver.com', :proxy=>'http://user:pass@proxy.example.com:8080' # Using an alternate Faraday adapter solr = RSolr.connect :url => 'http://solrserver.com', :adapter => :em_http # Using a custom Faraday connection conn = Faraday.new do |far