Class: RSolr::Patron::Connection

Inherits:
Object
  • Object
show all
Includes:
Connection::Requestable
Defined in:
lib/rsolr-patron.rb

Overview

Can be instantiated with the :url option (as per RSolr’s default implementation) as well as any options that exist as attr_writers on a Patron::Session instance, e.g.

RSolr::Client.connect :patron,
  :base_url => "http://localhost:8983", :timeout => 300, :headers => {"Connection" => "close"}