Re: Date ranges

2007-02-02 Thread Edward Summers
On Feb 2, 2007, at 11:36 PM, Erik Hatcher wrote: It also provides a specific scope for a connection, rather than it being possible for it to leak out (as an instance variable could). It hides the details of the Connection constructor also (maybe to cache instanced keyed by Solr URL?). Yea

Re: Date ranges

2007-02-02 Thread Edward Summers
On Feb 2, 2007, at 10:51 PM, Erik Hatcher wrote: Ruby experts - know how I can code Solr::Connection to work like this without an explicit method? (I'm still a Ruby newbie) What purpose does this block passing serve? //Ed

Re: Couple of ruby/solrb questions..

2007-01-31 Thread Edward Summers
On Jan 31, 2007, at 3:21 AM, Antonio Eggberg wrote: Hi: Two questions .. I am wondering about the following in the file solrb/lib/solr/ connection.rb we are doing http post { "Content-Type" => "application/x-www-form-urlencoded; charset=utf-8" }) however the file under example/exampledocs